|
Blender
V2.59
|
More low-level fileops from Daniel Dunbar. Two functions were also defined in storage.c. These are the old fop_ prefixes. There is definitely some redundancy here! More...
Go to the source code of this file.
Functions | |
| void | BLI_recurdir_fileops (const char *dirname) |
| int | BLI_link (const char *file, const char *to) |
| int | BLI_is_writable (const char *filename) |
| int | BLI_exists (const char *file) |
| int | BLI_copy_fileops (const char *file, const char *to) |
| int | BLI_rename (const char *from, const char *to) |
| int | BLI_gzip (const char *from, const char *to) |
| int | BLI_delete (const char *file, int dir, int recursive) |
| int | BLI_move (const char *file, const char *to) |
| int | BLI_touch (const char *file) |
| void | BLI_setCmdCallBack (int(*f)(char *)) |
More low-level fileops from Daniel Dunbar. Two functions were also defined in storage.c. These are the old fop_ prefixes. There is definitely some redundancy here!
Definition in file BLI_fileops.h.
| int BLI_copy_fileops | ( | const char * | file, |
| const char * | to | ||
| ) |
Definition at line 309 of file fileops.c.
References BLI_snprintf(), and str.
Referenced by ImagesExporter::operator()(), and writePackedFile().
| int BLI_delete | ( | const char * | file, |
| int | dir, | ||
| int | recursive | ||
| ) |
Definition at line 282 of file fileops.c.
References BLI_snprintf(), and str.
Referenced by BKE_ptcache_id_clear(), BKE_ptcache_remove(), BLI_is_writable(), BLI_rename(), BLO_write_file(), cdf_remove(), file_delete_exec(), fluid_init_filepaths(), fluidsim_delete_until_lastframe(), IMB_thumb_delete(), RE_BlenderAnim(), wm_autosave_delete(), and writePackedFile().
| int BLI_exists | ( | const char * | file | ) |
Definition at line 151 of file fileops.c.
References BLI_exist().
Referenced by autocomplete_directory(), BKE_ptcache_id_exist(), BLI_make_existing_file(), BLI_recurdir_fileops(), BLI_rename(), BLI_where_am_i(), cache_voxeldata(), checkMissingFiles(), file_directory_exec(), file_directory_invoke(), file_directory_new_exec(), file_draw_check_exists(), findMissingFiles(), fsmenu_read_system(), get_filename(), IMB_exr_begin_read(), IMB_thumb_delete(), IMB_thumb_manage(), namebutton_cb(), new_folder_path(), openanim(), ptcache_file_open(), renamebutton_cb(), save_exec(), seq_proxy_fetch(), space_image_file_exists_poll(), text_file_modified(), text_ignore_modified(), uiPupMenuSaveOver(), unpackFile(), wm_autosave_delete(), wm_autosave_location(), WM_read_history(), WM_read_homefile(), and writePackedFile().
| int BLI_gzip | ( | const char * | from, |
| const char * | to | ||
| ) |
| int BLI_is_writable | ( | const char * | filename | ) |
Definition at line 106 of file fileops.c.
References BLI_delete(), and O_BINARY.
Referenced by RE_is_rendering_allowed(), save_exec(), and space_image_file_exists_poll().
| int BLI_link | ( | const char * | file, |
| const char * | to | ||
| ) |
Definition at line 315 of file fileops.c.
References BLI_snprintf(), and str.
| int BLI_move | ( | const char * | file, |
| const char * | to | ||
| ) |
Definition at line 303 of file fileops.c.
References BLI_snprintf(), and str.
| void BLI_recurdir_fileops | ( | const char * | dirname | ) |
Definition at line 321 of file fileops.c.
References BLI_exists(), BLI_last_slash(), and BLI_recurdir_fileops().
Referenced by BLI_get_folder_create(), BLI_make_existing_file(), BLI_recurdir_fileops(), file_directory_exec(), file_directory_new_exec(), and IMB_thumb_makedirs().
| int BLI_rename | ( | const char * | from, |
| const char * | to | ||
| ) |
Definition at line 339 of file fileops.c.
References BLI_delete(), and BLI_exists().
Referenced by BKE_ptcache_disk_cache_rename(), BLO_write_file(), do_history(), IMB_thumb_create(), renamebutton_cb(), wm_autosave_delete(), and writePackedFile().
| void BLI_setCmdCallBack | ( | int(*)(char *) | f | ) |
| int BLI_touch | ( | const char * | file | ) |
Definition at line 134 of file fileops.c.
References NULL.
Referenced by collada_export(), RE_BlenderAnim(), and touch_seq_files().