| 29 | } |
| 30 | |
| 31 | bool ZipArchive::create(const char *archivePath) |
| 32 | { |
| 33 | m_curFile = INVALID_FILE; |
| 34 | m_entryCount = 0; |
| 35 | m_fileOffset = 0; |
| 36 | m_tempBuffer = nullptr; |
| 37 | m_tempBufferSize = 0; |
| 38 | m_newFiles.clear(); |
| 39 | |
| 40 | strcpy(m_archivePath, archivePath); |
| 41 | m_fileHandle = nullptr; |
| 42 | |
| 43 | return true; |
| 44 | } |
| 45 | |
| 46 | bool ZipArchive::open(const char *archivePath) |
| 47 | { |
no test coverage detected