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
| 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() |
no test coverage detected