| 192 | } |
| 193 | |
| 194 | bool renameFile(const string& sourcePath, const string& destPath) { |
| 195 | return rename(sourcePath.c_str(), destPath.c_str()) == 0; |
| 196 | } |
| 197 | |
| 198 | bool isDirectoryWritable(const string& path) { |
| 199 | if (!directoryExists(path) && !createDirectory(path)) { return false; } |
no outgoing calls
no test coverage detected