| 194 | } |
| 195 | |
| 196 | u32 ZipArchive::getFileIndex(const char* file) |
| 197 | { |
| 198 | for (s32 i = 0; i < m_entryCount; i++) |
| 199 | { |
| 200 | if (strcasecmp(file, m_entries[i].name.c_str()) == 0) |
| 201 | { |
| 202 | return i; |
| 203 | } |
| 204 | } |
| 205 | return INVALID_FILE; |
| 206 | } |
| 207 | |
| 208 | size_t ZipArchive::getFileLength() |
| 209 | { |
no test coverage detected