| 31 | } |
| 32 | |
| 33 | std::string PathToUtf8(const fs::path& path) { |
| 34 | auto value = path.u8string(); |
| 35 | return std::string(reinterpret_cast<const char*>(value.data()), value.size()); |
| 36 | } |
| 37 | |
| 38 | bool CopyIfProvided(const std::string& source, const fs::path& destination_dir, std::string* out, std::string* error) { |
| 39 | if (source.empty()) return true; |
no test coverage detected