MCPcopy Index your code
hub / github.com/crosspoint-reader/crosspoint-reader / open

Method open

lib/hal/HalStorage.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82HalFile& HalFile::operator=(HalFile&&) = default;
83
84HalFile HalStorage::open(const char* path, const oflag_t oflag) {
85 StorageLock lock; // ensure thread safety for the duration of this function
86 return HalFile(std::make_unique<HalFile::Impl>(SDCard.open(path, oflag)));
87}
88
89bool HalStorage::mkdir(const char* path, const bool pFlag) { HAL_STORAGE_WRAPPED_CALL(mkdir, path, pFlag); }
90

Callers 15

checkPanicFunction · 0.45
scanDirectoryMethod · 0.45
scanRootMethod · 0.45
buildBookBinMethod · 0.45
getDimensionsStaticMethod · 0.45
decodeToFramebufferMethod · 0.45
getDimensionsStaticMethod · 0.45
decodeToFramebufferMethod · 0.45
rawMethod · 0.45
handlePropfindMethod · 0.45
handleGetMethod · 0.45

Calls 1

HalFileClass · 0.85

Tested by

no test coverage detected