| 711 | } |
| 712 | |
| 713 | MMKV_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 | |
| 724 | MMKV_EXPORT bool checkExist(const char *mmapID, const char *rootPath) { |
| 725 | if (rootPath) { |
nothing calls this directly
no outgoing calls
no test coverage detected