| 639 | } |
| 640 | |
| 641 | MMKV_EXPORT bool disableCompareBeforeSet(void *handle) { |
| 642 | MMKV *kv = static_cast<MMKV *>(handle); |
| 643 | if (kv) { |
| 644 | return kv->disableCompareBeforeSet(); |
| 645 | } |
| 646 | return false; |
| 647 | } |
| 648 | |
| 649 | MMKV_EXPORT bool isFileValid(const char *mmapID, const char *rootPath) { |
| 650 | if (rootPath) { |
nothing calls this directly
no test coverage detected