MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / findFile

Method findFile

radiantcore/vfs/Doom3FileSystem.cpp:341–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341std::string Doom3FileSystem::findFile(const std::string& name)
342{
343 for (const auto& descriptor : _archives)
344 {
345 if (!descriptor.is_pakfile && descriptor.archive->containsFile(name))
346 {
347 return descriptor.name;
348 }
349 }
350
351 return std::string();
352}
353
354std::string Doom3FileSystem::findRoot(const std::string& name)
355{

Callers 10

handleItemActivatedMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
materialtest.pyFile · 0.45
rootPathFunction · 0.45
rootPathFunction · 0.45
rootPathFunction · 0.45
rootPathFunction · 0.45
saveSnapshotMethod · 0.45

Calls 1

containsFileMethod · 0.45

Tested by

no test coverage detected