| 44 | } |
| 45 | |
| 46 | static bool untarDirectory(const minitar_entry* entry, const std::string& destinationPath) { |
| 47 | auto absolute_path = destinationPath + "/" + entry->metadata.path; |
| 48 | if (!file::findOrCreateDirectory(absolute_path, 0777)) return false; |
| 49 | return true; |
| 50 | } |
| 51 | |
| 52 | static bool untar(const std::string& tarPath, const std::string& destinationPath) { |
| 53 | minitar mp; |
no test coverage detected