MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ~ZipFile

Method ~ZipFile

Source/Internal/zip_util.cpp:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144ZipFile::ZipFile() : zf(NULL) {}
145
146ZipFile::~ZipFile() {
147 if (zf && zipClose(zf, NULL) != ZIP_OK) {
148 DisplayError("Error", "Error closing zip file");
149 }
150}
151
152void Zip(const std::string& src_file_path,
153 const std::string& zip_file_path,

Callers

nothing calls this directly

Calls 2

DisplayErrorFunction · 0.70
zipCloseFunction · 0.50

Tested by

no test coverage detected