open a zip file. param: filename path and the filename of the zip file to open return: true if open, false otherwise
| 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() |
nothing calls this directly
no test coverage detected