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

Function isFileValid

OpenHarmony/MMKV/src/main/cpp/flutter-bridge.cpp:664–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected