MCPcopy Create free account
hub / github.com/OpenMW/openmw / getFile

Method getFile

components/bsa/bsafile.cpp:293–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293Files::IStreamPtr Bsa::BSAFile::getFile(const FileStruct* file)
294{
295 return Files::openConstrainedFileStream(mFilepath, file->mOffset, file->mFileSize);
296}
297
298void Bsa::BSAFile::addFile(const std::string& filename, std::istream& file)
299{

Callers 7

readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
extractFunction · 0.45
extractAllFunction · 0.45

Calls 1

Tested by

no test coverage detected