| 672 | } |
| 673 | |
| 674 | MMKV_EXPORT bool removeStorage(const char *mmapID, const char *rootPath) { |
| 675 | if (rootPath) { |
| 676 | auto root = string(rootPath); |
| 677 | if (root.length() > 0) { |
| 678 | return MMKV::removeStorage(mmapID, &root); |
| 679 | } |
| 680 | } |
| 681 | return MMKV::removeStorage(mmapID, nullptr); |
| 682 | } |
| 683 | |
| 684 | MMKV_EXPORT bool isMultiProcess(void *handle) { |
| 685 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no outgoing calls
no test coverage detected