| 181 | } |
| 182 | |
| 183 | bool 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 | |
| 189 | bool ZipFile::isFolder(const std::string& path) const { |
| 190 | if (!_file) return false; |
nothing calls this directly
no test coverage detected