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

Function getNameSpace

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

Source from the content-addressed store, hash-verified

729}
730
731MMKV_EXPORT bool getNameSpace(const char *rootPath) {
732 if (rootPath) {
733 auto root = string(rootPath);
734 if (!root.empty()) {
735 MMKV::nameSpace(root);
736 return true;
737 }
738 }
739 return false;
740}
741
742MMKV_EXPORT bool checkExist(const char *mmapID, const char *rootPath) {
743 if (rootPath) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected