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

Function isFileValid

Android/MMKV/mmkv/src/main/cpp/flutter-bridge.cpp:667–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667MMKV_EXPORT bool isFileValid(const char *mmapID, const char *rootPath) {
668 if (rootPath) {
669 auto root = string(rootPath);
670 if (root.length() > 0) {
671 return MMKV::isFileValid(mmapID, &root);
672 }
673 }
674 return MMKV::isFileValid(mmapID, nullptr);
675}
676
677MMKV_EXPORT bool removeStorage(const char *mmapID, const char *rootPath) {
678 if (rootPath) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected