| 129 | static bool Rename(const char* fromPath, const std::string& toPath) { return rename(fromPath, toPath.c_str()) == 0; } |
| 130 | static bool Rename(const char* fromPath, const char* toPath) { return rename(fromPath, toPath) == 0; } |
| 131 | static bool Delete(Exception& ex, const std::string& path, Mode mode = LOW) { return Delete(ex, path.data(), path.size(), mode); } |
| 132 | static bool Delete(Exception& ex, const char* path, Mode mode = LOW) { return Delete(ex, path, strlen(path), mode); } |
| 133 | |
| 134 | static bool ResolveFileWithPaths(const char* paths, std::string& file); |