| 444 | } |
| 445 | |
| 446 | Status WindowsFileSystem::DeleteFile(const string& fname) { |
| 447 | Status result; |
| 448 | std::wstring file_name = Utf8ToWideChar(fname); |
| 449 | if (_wunlink(file_name.c_str()) != 0) { |
| 450 | result = IOError("Failed to delete a file: " + fname, errno); |
| 451 | } |
| 452 | return result; |
| 453 | } |
| 454 | |
| 455 | Status WindowsFileSystem::CreateDir(const string& name) { |
| 456 | Status result; |
nothing calls this directly
no test coverage detected