MCPcopy Create free account
hub / github.com/axmolengine/axmol / vopen

Method vopen

core/base/ZipUtils.cpp:894–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894ZipEntryInfo* ZipFile::vopen(std::string_view fileName)
895{
896 auto it = _data->fileList.find(fileName);
897 if (it != _data->fileList.end())
898 return &it->second;
899
900 return nullptr;
901}
902
903int ZipFile::vread(ZipEntryInfo* entry, void* buf, unsigned int size)
904{

Callers 1

openMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected