13 #ifndef IS_SDK_IS_FILE_MANAGER_H_ 14 #define IS_SDK_IS_FILE_MANAGER_H_ 43 bool DeleteFile(
const std::string& fullFilePath);
49 uint64_t
GetDirectorySpaceUsed(
const std::string&
directory, std::string regexPattern, std::vector<file_info_t>& files,
bool sortByDate =
true,
bool recursive =
true);
61 #endif //IS_SDK_IS_FILE_MANAGER_H_
time_t lastModificationDate
bool PathIsDir(const std::string &path)
uint64_t GetDirectorySpaceAvailable(const std::string &directory)
bool GetAllFilesInDirectory(const std::string &directory, bool recursive, const std::string ®exPattern, std::vector< std::string > &files)
bool DeleteFile(const std::string &fullFilePath)
std::string GetFileName(const std::string &path)
uint64_t GetDirectorySpaceUsed(const std::string &directory, bool recursive)
void DeleteDirectory(const std::string &directory, bool recursive)
bool TouchFile(const std::string &path)