| 729 | } |
| 730 | |
| 731 | MMKV_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 | |
| 742 | MMKV_EXPORT bool checkExist(const char *mmapID, const char *rootPath) { |
| 743 | if (rootPath) { |
nothing calls this directly
no outgoing calls
no test coverage detected