| 130 | |
| 131 | |
| 132 | bool rename(const std::string& srcPath, const std::string& destPath) { |
| 133 | try { |
| 134 | fs::rename(fs::u8path(srcPath), fs::u8path(destPath)); |
| 135 | return true; |
| 136 | } |
| 137 | catch (fs::filesystem_error& e) { |
| 138 | return false; |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | |
| 143 | bool copy(const std::string& srcPath, const std::string& destPath) { |
no outgoing calls
no test coverage detected