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

Method clearMemoryCache

Core/MemoryFile.h:174–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 void reloadFromFile(size_t expectedCapacity = 0);
173
174 void clearMemoryCache() { doCleanMemoryCache(false); }
175
176#ifndef MMKV_WIN32
177 bool isFileValid() { return (m_isMayflyFD || m_diskFile.isFileValid()) && m_size > 0 && m_ptr; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected