MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / open

Method open

extlibs/elzip/src/zipper.cpp:34–40  ·  view source on GitHub ↗

Create a new zip file. param: filename path and the filename of the zip file to open append set true to append the zip file return: true if open, false otherwise

Source from the content-addressed store, hash-verified

32 // return:
33 // true if open, false otherwise
34 bool zipper::open(const char* filename, bool append)
35 {
36 close();
37 zipFile_ = zipOpen64(filename, append ? APPEND_STATUS_ADDINZIP : 0);
38
39 return isOpen();
40 }
41
42 // Close the zip file
43 void zipper::close()

Callers 5

PluginMethod · 0.45
extractZipFunction · 0.45
extractFileFunction · 0.45
extractZipFunction · 0.45
extractFileFunction · 0.45

Calls 1

zipOpen64Function · 0.85

Tested by

no test coverage detected