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

Function removeStorage

flutter/mmkv_linux/linux/flutter-bridge.cpp:659–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659MMKV_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
669MMKV_EXPORT bool isMultiProcess(void *handle) {
670 MMKV *kv = static_cast<MMKV *>(handle);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected