| 465 | } |
| 466 | |
| 467 | Status WindowsFileSystem::DeleteDir(const string& name) { |
| 468 | Status result; |
| 469 | std::wstring ws_name = Utf8ToWideChar(name); |
| 470 | if (_wrmdir(ws_name.c_str()) != 0) { |
| 471 | result = IOError("Failed to remove a directory: " + name, errno); |
| 472 | } |
| 473 | return result; |
| 474 | } |
| 475 | |
| 476 | Status WindowsFileSystem::GetFileSize(const string& fname, uint64* size) { |
| 477 | string translated_fname = TranslateName(fname); |
nothing calls this directly
no test coverage detected