| 314 | } |
| 315 | |
| 316 | bool isFileExist(const MMKVPath_t &nsFilePath) { |
| 317 | if (nsFilePath.empty()) { |
| 318 | return false; |
| 319 | } |
| 320 | auto attribute = GetFileAttributes(nsFilePath.c_str()); |
| 321 | return (attribute != INVALID_FILE_ATTRIBUTES); |
| 322 | } |
| 323 | |
| 324 | bool mkPath(const MMKVPath_t &str) { |
| 325 | wchar_t *path = _wcsdup(str.c_str()); |
nothing calls this directly
no outgoing calls
no test coverage detected