| 657 | } |
| 658 | |
| 659 | MMKV_EXPORT bool removeStorage(const char *mmapID, const char *rootPath) { |
| 660 | if (rootPath) { |
| 661 | auto root = string(rootPath); |
| 662 | if (root.length() > 0) { |
| 663 | return MMKV::removeStorage(mmapID, &root); |
| 664 | } |
| 665 | } |
| 666 | return MMKV::removeStorage(mmapID, nullptr); |
| 667 | } |
| 668 | |
| 669 | MMKV_EXPORT bool isMultiProcess(void *handle) { |
| 670 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no outgoing calls
no test coverage detected