#include "util.h"
#include <thread>
#include <chrono>
Go to the source code of this file.
|
bool | checkIfBasePathExists (const std::filesystem::path &mPath) |
|
bool | checkIfFileExists (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
bool | checkIfFolderExists (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
void | ensureBasePathExists (const std::filesystem::path &mPath, bool createIfNotExistent) |
|
void | ensureFileExists (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
void | ensureFolderExists (const std::filesystem::path &mPath, const std::filesystem::path &p, bool createIfNotExistent) |
|
std::vector< std::string > | getAllDirectories (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
std::vector< std::string > | getAllFiles (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
bool | isNumber (const std::string &s) |
|
std::vector< unsigned char > | readDataFromFile (const std::filesystem::path &mPath, const std::filesystem::path &p) |
|
void | writeDataToFile (const std::filesystem::path &mPath, const std::filesystem::path &p, const std::vector< unsigned char > &data) |
|
void | writeDataToFileRepeated (const std::filesystem::path &mPath, const std::filesystem::path &p, const std::vector< unsigned char > &data, const unsigned int maxTries, const unsigned int sleepTimeMs) |
|