| 95 | } |
| 96 | |
| 97 | bool ModuleResourceContainer::GetStat(ModuleResourceContainer::Stat& stat) const |
| 98 | { |
| 99 | if (IsValid()) |
| 100 | { |
| 101 | int fileIndex = us_mz_zip_reader_locate_file(&d->m_ZipArchive, stat.filePath.c_str(), nullptr, 0); |
| 102 | if (fileIndex >= 0) |
| 103 | { |
| 104 | return GetStat(fileIndex, stat); |
| 105 | } |
| 106 | } |
| 107 | return false; |
| 108 | } |
| 109 | |
| 110 | bool ModuleResourceContainer::GetStat(int index, ModuleResourceContainer::Stat& stat) const |
| 111 | { |
no test coverage detected