MCPcopy Create free account
hub / github.com/Tencent/MMKV / removeStorage

Function removeStorage

OpenHarmony/MMKV/src/main/cpp/flutter-bridge.cpp:674–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672}
673
674MMKV_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
684MMKV_EXPORT bool isMultiProcess(void *handle) {
685 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected