MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DeleteDir

Method DeleteDir

tensorflow/core/platform/windows/windows_file_system.cc:467–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467Status 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
476Status WindowsFileSystem::GetFileSize(const string& fname, uint64* size) {
477 string translated_fname = TranslateName(fname);

Callers

nothing calls this directly

Calls 3

Utf8ToWideCharFunction · 0.85
IOErrorFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected