filesystem_util.cpp File Reference
#include "filesystem_util.h"
#include <algorithm>
#include <RobotAPI/libraries/armem/core/error/ArMemError.h>
+ Include dependency graph for filesystem_util.cpp:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::armem
 
 armarx::armem::server
 
 armarx::armem::server::ltm
 
 armarx::armem::server::ltm::disk
 
 armarx::armem::server::ltm::disk::filesystem
 
 armarx::armem::server::ltm::disk::filesystem::util
 

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)