| 51 | } |
| 52 | |
| 53 | bool File::exists(String const& path) { |
| 54 | WIN32_FIND_DATAW findFileData; |
| 55 | const HANDLE handle = FindFirstFileW(stringToUtf16(path).get(), &findFileData); |
| 56 | if (handle == INVALID_HANDLE_VALUE) |
| 57 | return false; |
| 58 | FindClose(handle); |
| 59 | return true; |
| 60 | } |
| 61 | |
| 62 | bool File::isFile(String const& path) { |
| 63 | WIN32_FIND_DATAW findFileData; |
nothing calls this directly
no test coverage detected