MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / has

Method has

src/Abyss/FileSystem/MPQ.cpp:104–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102MPQ::~MPQ() { SFileCloseArchive(_stormMpq); }
103
104bool MPQ::has(const std::string_view fileName) { return SFileHasFile(_stormMpq, fixPath(fileName).c_str()); }
105
106InputStream MPQ::load(const std::string_view fileName) { return InputStream(std::make_unique<MPQStream>(_stormMpq, fixPath(fileName))); }
107

Callers 2

loadFileMethod · 0.45
fileExistsMethod · 0.45

Calls 1

fixPathFunction · 0.85

Tested by

no test coverage detected