MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / untarDirectory

Function untarDirectory

Tactility/Source/app/AppInstall.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static 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
52static bool untar(const std::string& tarPath, const std::string& destinationPath) {
53 minitar mp;

Callers 1

untarFunction · 0.85

Calls 1

findOrCreateDirectoryFunction · 0.85

Tested by

no test coverage detected