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

Method getFd

Core/MemoryFile.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154MMKVFileHandle_t MemoryFile::getFd() {
155 if (m_isMayflyFD) {
156 openIfNeeded();
157 }
158 return m_diskFile.getFd();
159}
160
161bool MemoryFile::truncate(size_t size, FileLock *fileLock) {
162 if (m_isMayflyFD) {

Callers 15

MMKVMethod · 0.45
MMKVMethod · 0.45
tryMigrateLegacyMMKVFileFunction · 0.45
ashmemFDMethod · 0.45
ashmemMetaFDMethod · 0.45
checkReSetCryptKeyMethod · 0.45
removeStorageMethod · 0.45
copyFileContentFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected