| 657 | } |
| 658 | |
| 659 | MMKV_EXPORT bool disableCompareBeforeSet(void *handle) { |
| 660 | MMKV *kv = static_cast<MMKV *>(handle); |
| 661 | if (kv) { |
| 662 | return kv->disableCompareBeforeSet(); |
| 663 | } |
| 664 | return false; |
| 665 | } |
| 666 | |
| 667 | MMKV_EXPORT bool isFileValid(const char *mmapID, const char *rootPath) { |
| 668 | if (rootPath) { |
nothing calls this directly
no test coverage detected