MCPcopy Create free account
hub / github.com/Tencent/MMKV / openIfNeeded

Method openIfNeeded

Core/MemoryFile_Win32.cpp:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263bool MemoryFile::openIfNeeded() {
264 if (!m_diskFile.isFileValid()) {
265 return m_diskFile.open();
266 }
267 return true;
268}
269
270void MemoryFile::cleanMayflyFD() {
271 if (m_isMayflyFD) {

Callers

nothing calls this directly

Calls 2

isFileValidMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected