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

Method open

extlibs/elzip/src/unzipper.cpp:30–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

28 // return:
29 // true if open, false otherwise
30 bool unzipper::open(const char* filename)
31 {
32 close();
33 zipFile_ = unzOpen64(filename);
34 if (zipFile_)
35 {
36 readEntries();
37 }
38
39 return isOpen();
40 }
41
42 // Close the zip file
43 void unzipper::close()

Callers

nothing calls this directly

Calls 1

unzOpen64Function · 0.85

Tested by

no test coverage detected