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

Function getNameSpace

flutter/mmkv_linux/linux/flutter-bridge.cpp:713–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713MMKV_EXPORT bool getNameSpace(const char *rootPath) {
714 if (rootPath) {
715 auto root = string(rootPath);
716 if (!root.empty()) {
717 MMKV::nameSpace(root);
718 return true;
719 }
720 }
721 return false;
722}
723
724MMKV_EXPORT bool checkExist(const char *mmapID, const char *rootPath) {
725 if (rootPath) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected