Add a function to get the content of a file.

This commit is contained in:
Matthieu Gautier
2018-03-27 16:36:53 +02:00
parent 2164faba44
commit 9f86b59d1d
2 changed files with 15 additions and 0 deletions

View File

@ -51,6 +51,7 @@ string appendToDirectory(const string& directoryPath, const string& filename);
unsigned int getFileSize(const string& path);
string getFileSizeAsString(const string& path);
string getFileContent(const string& path);
bool fileExists(const string& path);
bool makeDirectory(const string& path);
bool copyFile(const string& sourcePath, const string& destPath);