tgbot-cpp
|
Functions | |
std::string | read (const std::string &filePath) |
bool | write (const std::string &content, const std::string &filePath) |
std::string FileTools::read | ( | const std::string & | filePath | ) |
Reads whole file to string.
filePath | Path to a file |
bool FileTools::write | ( | const std::string & | content, |
const std::string & | filePath | ||
) |
Save file to disk.
filePath | Path to a file |