| 165 | } |
| 166 | |
| 167 | bool copy(const std::string &source, const std::string &dest) |
| 168 | { |
| 169 | std::error_code ec; |
| 170 | std::filesystem::copy_file(source, dest, |
| 171 | std::filesystem::copy_options::recursive | std::filesystem::copy_options::overwrite_existing, ec); |
| 172 | return !ec; |
| 173 | } |
| 174 | |
| 175 | bool remove(const std::string &path) |
| 176 | { |
no outgoing calls
no test coverage detected