made clear fodler nicer to use
parent
d117c7fcf5
commit
0f8dc7f205
|
@ -178,20 +178,6 @@ buffer_identifier(Buffer_ID id){
|
|||
return(identifier);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static Buffer_Summary
|
||||
create_buffer(Application_Links *app, char *filename, int32_t filename_len, Buffer_Create_Flag flags){
|
||||
Buffer_Summary buffer = {0};
|
||||
|
||||
Buffer_Creation_Data data = {0};
|
||||
begin_buffer_creation(app, &data, flags);
|
||||
buffer_creation_name(app, &data, filename, filename_len, 0);
|
||||
buffer = end_buffer_creation(app, &data);
|
||||
|
||||
return(buffer);
|
||||
}
|
||||
#endif
|
||||
|
||||
static Range
|
||||
make_range(int32_t p1, int32_t p2){
|
||||
Range range;
|
||||
|
|
|
@ -390,7 +390,8 @@ fm_make_folder_if_missing(char *dir){
|
|||
|
||||
static void
|
||||
fm_clear_folder(char *folder){
|
||||
systemf("del /S /Q /F %s\\* & rmdir /S /Q %s & mkdir %s", folder, folder, folder);
|
||||
fprintf(stdout, "clearing folder %s\n", folder);
|
||||
systemf("del /S /Q /F %s\\* > nul & rmdir /S /Q %s > nul & mkdir %s > nul", folder, folder, folder);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -527,7 +528,8 @@ fm_make_folder_if_missing(char *dir){
|
|||
|
||||
static void
|
||||
fm_clear_folder(char *folder){
|
||||
systemf("rm -rf %s*", folder);
|
||||
fprintf(stdout, "clearing folder %s\n", folder);
|
||||
systemf("rm -rf %s* > /dev/null", folder);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue