|
|
Namespaces | |
| namespace | detail |
Functions | |
| bool | canCreateFiles (const std::filesystem::path &dir) |
| Check if we can create files in this directory. | |
| bool | directoryExists (const std::filesystem::path &p) |
| void | ensureDirectoryExists (const std::filesystem::path &p, bool createIfNotExistent=false) |
| void | ensureFileExists (const std::filesystem::path &p, bool createIfNotExistent=false) |
| bool | fileExists (const std::filesystem::path &p) |
| std::vector< std::filesystem::path > | getAllDirectories (const std::filesystem::path &p) |
| std::vector< std::filesystem::path > | getAllFiles (const std::filesystem::path &p) |
| bool | hasWritePermission (const std::filesystem::path &p) |
| Check if directory has write permission. | |
| std::vector< unsigned char > | readDataFromFile (const std::filesystem::path &p) |
| std::filesystem::path | toPath (const std::filesystem::path &base, const armem::MemoryID &id) |
| void | writeDataToFile (const std::filesystem::path &p, const std::vector< unsigned char > &data, bool write_atomic=true) |
| bool canCreateFiles | ( | const std::filesystem::path & | dir | ) |
Check if we can create files in this directory.
Here is the caller graph for this function:| bool directoryExists | ( | const std::filesystem::path & | p | ) |
Here is the caller graph for this function:| void ensureDirectoryExists | ( | const std::filesystem::path & | p, |
| bool | createIfNotExistent = false ) |
| void ensureFileExists | ( | const std::filesystem::path & | p, |
| bool | createIfNotExistent = false ) |
| bool fileExists | ( | const std::filesystem::path & | p | ) |
| std::vector< std::filesystem::path > getAllDirectories | ( | const std::filesystem::path & | p | ) |
Here is the caller graph for this function:| std::vector< std::filesystem::path > getAllFiles | ( | const std::filesystem::path & | p | ) |
| bool hasWritePermission | ( | const std::filesystem::path & | p | ) |
Check if directory has write permission.
Here is the caller graph for this function:| std::vector< unsigned char > readDataFromFile | ( | const std::filesystem::path & | p | ) |
| std::filesystem::path toPath | ( | const std::filesystem::path & | base, |
| const armem::MemoryID & | id ) |
| void writeDataToFile | ( | const std::filesystem::path & | p, |
| const std::vector< unsigned char > & | data, | ||
| bool | write_atomic = true ) |