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

Method defaultNameSpace

Core/MMKV.cpp:1764–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762}
1763
1764NameSpace MMKV::defaultNameSpace() {
1765 if (g_rootDir.empty()) {
1766 MMKVWarning("MMKV has not been initialized, there's no default NameSpace.");
1767 return NameSpace(MMKVPath_t());
1768 }
1769 return NameSpace(g_realRootDir);
1770}
1771
1772MMKV *NameSpace::mmkvWithID(const string &mmapID, MMKVMode mode, const string *cryptKey, size_t expectedCapacity, bool aes256) {
1773 MMKVConfig config;

Callers

nothing calls this directly

Calls 1

NameSpaceFunction · 0.70

Tested by

no test coverage detected