Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_fileops.h
| Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | #define FILE_ATTR_ANY_LINK \ | ||||
| FILE_ATTR_MOUNT_POINT | FILE_ATTR_HARDLINK) | FILE_ATTR_MOUNT_POINT | FILE_ATTR_HARDLINK) | ||||
| /* Directories */ | /* Directories */ | ||||
| struct direntry; | struct direntry; | ||||
| bool BLI_is_dir(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | bool BLI_is_dir(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | ||||
| bool BLI_is_file(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | bool BLI_is_file(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | ||||
| bool BLI_dir_is_empty(const char *dirname); | |||||
| bool BLI_dir_create_recursive(const char *dir) ATTR_NONNULL(); | bool BLI_dir_create_recursive(const char *dir) ATTR_NONNULL(); | ||||
| double BLI_dir_free_space(const char *dir) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | double BLI_dir_free_space(const char *dir) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | ||||
| char *BLI_current_working_dir(char *dir, const size_t maxncpy) ATTR_WARN_UNUSED_RESULT | char *BLI_current_working_dir(char *dir, const size_t maxncpy) ATTR_WARN_UNUSED_RESULT | ||||
| ATTR_NONNULL(); | ATTR_NONNULL(); | ||||
| eFileAttributes BLI_file_attributes(const char *path); | eFileAttributes BLI_file_attributes(const char *path); | ||||
| /* Filelist */ | /* Filelist */ | ||||
| ▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines | |||||