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

Method onMMKVCRCCheckFail

Python/libmmkv_python.cpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 MMKVRecoverStrategic onMMKVCRCCheckFail(const std::string &mmapID) override {
78 if (g_errorHandler) {
79 return g_errorHandler(mmapID, MMKVErrorType::MMKVCRCCheckFail);
80 }
81 return OnErrorDiscard;
82 }
83
84 MMKVRecoverStrategic onMMKVFileLengthError(const std::string &mmapID) override {
85 if (g_errorHandler) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected