|
dpkg 1.22.7-3-g89f48
|
Functions | |
| int | dir_make_path (const char *path, mode_t mode) |
| Create the directory and all its parents if necessary. | |
| int | dir_make_path_parent (const char *path, mode_t mode) |
| void | dir_sync_path (const char *path) |
| Sync a directory to disk from a pathname. | |
| void | dir_sync_path_parent (const char *path) |
| Sync to disk the parent directory of a pathname. | |
| void | dir_sync_contents (const char *path) |
| Sync to disk the contents and the directory specified. | |
| int dir_make_path | ( | const char * | path, |
| mode_t | mode | ||
| ) |
Create the directory and all its parents if necessary.
| path | The pathname to create directories for. |
| mode | The pathname mode. |
References m_strdup().
Referenced by do_auto(), and modstatdb_open().
| int dir_make_path_parent | ( | const char * | path, |
| mode_t | mode | ||
| ) |
References m_strdup().
Referenced by atomic_file_open().
| void dir_sync_contents | ( | const char * | path | ) |
Sync to disk the contents and the directory specified.
| path | The pathname to sync. |
Referenced by process_archive().
| void dir_sync_path | ( | const char * | path | ) |
Sync a directory to disk from a pathname.
| path | The name of the directory to sync. |
Referenced by dir_sync_path_parent(), do_auto(), dpkg_arch_save_list(), modstatdb_checkpoint(), trig_file_interests_save(), trigdef_process_done(), write_filehash_except(), and write_filelist_except().
| void dir_sync_path_parent | ( | const char * | path | ) |
Sync to disk the parent directory of a pathname.
| path | The child pathname of the directory to sync. |
References dir_sync_path(), and m_strdup().
Referenced by writedb().