| 662 | } |
| 663 | |
| 664 | MMKV_EXPORT bool isFileValid(const char *mmapID, const char *rootPath) { |
| 665 | if (rootPath) { |
| 666 | auto root = string(rootPath); |
| 667 | if (root.length() > 0) { |
| 668 | return MMKV::isFileValid(mmapID, &root); |
| 669 | } |
| 670 | } |
| 671 | return MMKV::isFileValid(mmapID, nullptr); |
| 672 | } |
| 673 | |
| 674 | MMKV_EXPORT bool removeStorage(const char *mmapID, const char *rootPath) { |
| 675 | if (rootPath) { |
nothing calls this directly
no outgoing calls
no test coverage detected