MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / UnZipToFile

Function UnZipToFile

Source/Internal/zip_util.cpp:484–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484void UnZipToFile(const std::string& dst_file_path,
485 const std::string& zip_file_path,
486 const std::string& in_zip_file_path,
487 OverwriteType overwrite) {
488 if (overwrite == _NO_OVERWRITE && check_exist_file(zip_file_path.c_str()) != 0) {
489 return;
490 }
491
492 UnZipFile uf;
493 uf.Load(zip_file_path);
494 uf.Extract(in_zip_file_path, dst_file_path, overwrite);
495}
496
497void PrintZipFileInfo(const std::string& zip_file_path) {
498 UnZipFile uf;

Callers

nothing calls this directly

Calls 4

ExtractMethod · 0.80
check_exist_fileFunction · 0.50
c_strMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected