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

Method onMMKVFileLengthError

Python/libmmkv_python.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 MMKVRecoverStrategic onMMKVFileLengthError(const std::string &mmapID) override {
85 if (g_errorHandler) {
86 return g_errorHandler(mmapID, MMKVErrorType::MMKVFileLength);
87 }
88 return OnErrorDiscard;
89 }
90
91 void onContentChangedByOuterProcess(const std::string &mmapID) override {
92 if (g_contentHandler) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected