| 399 | } |
| 400 | |
| 401 | Status WindowsFileSystem::FileExists(const string& fname) { |
| 402 | constexpr int kOk = 0; |
| 403 | std::wstring ws_translated_fname = Utf8ToWideChar(TranslateName(fname)); |
| 404 | if (_waccess(ws_translated_fname.c_str(), kOk) == 0) { |
| 405 | return Status::OK(); |
| 406 | } |
| 407 | return errors::NotFound(fname, " not found"); |
| 408 | } |
| 409 | |
| 410 | Status WindowsFileSystem::GetChildren(const string& dir, |
| 411 | std::vector<string>* result) { |
nothing calls this directly
no test coverage detected