armarx::armem::server::ltm::disk::filesystem::util Namespace Reference

Functions

bool checkIfFileInFilesystemExists (const std::filesystem::path &p)
 
bool checkIfFolderInFilesystemExists (const std::filesystem::path &p)
 
void ensureFileInFilesystemExists (const std::filesystem::path &p)
 
void ensureFolderInFilesystemExists (const std::filesystem::path &p, bool createIfNotExistent)
 
std::vector< std::string > getAllFilesystemDirectories (const std::filesystem::path path)
 
std::vector< std::string > getAllFilesystemFiles (const std::filesystem::path path)
 
size_t getSizeOfDirectory (const std::filesystem::path &p)
 
std::vector< unsigned char > readDataFromFilesystemFile (const std::filesystem::path path)
 
void writeDataInFilesystemFile (const std::filesystem::path &p, const std::vector< unsigned char > &data)
 

Function Documentation

◆ checkIfFileInFilesystemExists()

bool checkIfFileInFilesystemExists ( const std::filesystem::path &  p)

Definition at line 58 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ checkIfFolderInFilesystemExists()

bool checkIfFolderInFilesystemExists ( const std::filesystem::path &  p)

Definition at line 38 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ ensureFileInFilesystemExists()

void ensureFileInFilesystemExists ( const std::filesystem::path &  p)

Definition at line 63 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ ensureFolderInFilesystemExists()

void ensureFolderInFilesystemExists ( const std::filesystem::path &  p,
bool  createIfNotExistent 
)

Definition at line 43 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ getAllFilesystemDirectories()

std::vector< std::string > getAllFilesystemDirectories ( const std::filesystem::path  path)

Definition at line 91 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ getAllFilesystemFiles()

std::vector< std::string > getAllFilesystemFiles ( const std::filesystem::path  path)

Definition at line 106 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ getSizeOfDirectory()

size_t getSizeOfDirectory ( const std::filesystem::path &  p)

Definition at line 12 of file filesystem_util.cpp.

◆ readDataFromFilesystemFile()

std::vector< unsigned char > readDataFromFilesystemFile ( const std::filesystem::path  path)

Definition at line 84 of file filesystem_util.cpp.

+ Here is the caller graph for this function:

◆ writeDataInFilesystemFile()

void writeDataInFilesystemFile ( const std::filesystem::path &  p,
const std::vector< unsigned char > &  data 
)

Definition at line 72 of file filesystem_util.cpp.

+ Here is the caller graph for this function: