MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / fileExists

Method fileExists

Source/3rdParty/Zip/ZipUtils.cpp:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183bool ZipFile::fileExists(const std::string& fileName) const {
184 if (!_file) return false;
185 std::string searchName = getSearchName(fileName);
186 return _file->fileList.find(searchName) != _file->fileList.end() || _file->folderList.find(searchName) != _file->folderList.end();
187}
188
189bool ZipFile::isFolder(const std::string& path) const {
190 if (!_file) return false;

Callers

nothing calls this directly

Calls 3

getSearchNameFunction · 0.85
findMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected