Add a function to create a temporary directory.

This commit is contained in:
Matthieu Gautier
2018-03-27 16:37:17 +02:00
parent 9f86b59d1d
commit d4fefd1a57
2 changed files with 25 additions and 0 deletions

View File

@ -54,6 +54,7 @@ string getFileSizeAsString(const string& path);
string getFileContent(const string& path);
bool fileExists(const string& path);
bool makeDirectory(const string& path);
string makeTmpDirectory();
bool copyFile(const string& sourcePath, const string& destPath);
string getLastPathElement(const string& path);
string getExecutablePath();