///////////////////////////////////////////////////////////////////// finds the file by exact path
| 283 | ////////////////////////////////////////////////////////////////////////// |
| 284 | // finds the file by exact path |
| 285 | ZipDir::FileEntry* ZipDir::CacheRW::FindFile (const char* szPath, bool bFullInfo) |
| 286 | { |
| 287 | if (!this) |
| 288 | return NULL; |
| 289 | ZipDir::FindFileRW fd (GetRoot()); |
| 290 | if (!fd.FindExact(szPath)) |
| 291 | { |
| 292 | assert (!fd.GetFileEntry()); |
| 293 | return NULL; |
| 294 | } |
| 295 | assert (fd.GetFileEntry()); |
| 296 | return fd.GetFileEntry(); |
| 297 | } |
| 298 | |
| 299 | // returns the size of memory occupied by the instance referred to by this cache |
| 300 | size_t ZipDir::CacheRW::GetSize()const |
nothing calls this directly
no test coverage detected