MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / openNextFile

Method openNextFile

lib/hal/HalStorage.cpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164void HalFile::rewindDirectory() { HAL_FILE_WRAPPED_CALL(rewindDirectory, ); }
165bool HalFile::close() { HAL_FILE_WRAPPED_CALL(close, ); }
166HalFile HalFile::openNextFile() {
167 HalStorage::StorageLock lock;
168 assert(impl != nullptr);
169 return HalFile(std::make_unique<Impl>(impl->file.openNextFile()));
170}
171bool HalFile::isOpen() const { return impl != nullptr && impl->file.isOpen(); } // already thread-safe, no need to wrap
172HalFile::operator bool() const { return isOpen(); }

Callers 11

scanDirectoryMethod · 0.80
scanRootMethod · 0.80
handlePropfindMethod · 0.80
handleDeleteMethod · 0.80
scanFilesMethod · 0.80
handleDeleteMethod · 0.80
loadFilesMethod · 0.80
removeDirFileMethod · 0.80
clearCacheMethod · 0.80
loadSiblingImagesMethod · 0.80

Calls 1

HalFileClass · 0.85

Tested by

no test coverage detected