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