| 164 | } |
| 165 | |
| 166 | int Doom3FileSystem::getFileCount(const std::string& filename) |
| 167 | { |
| 168 | int count = 0; |
| 169 | std::string fixedFilename(os::standardPath(filename)); |
| 170 | |
| 171 | for (const ArchiveDescriptor& descriptor : _archives) |
| 172 | { |
| 173 | if (descriptor.archive->containsFile(fixedFilename)) |
| 174 | { |
| 175 | ++count; |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | return count; |
| 180 | } |
| 181 | |
| 182 | FileInfo Doom3FileSystem::getFileInfo(const std::string& vfsRelativePath) |
| 183 | { |
no test coverage detected