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

Method DeleteFile

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

Source from the content-addressed store, hash-verified

444}
445
446Status 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
455Status WindowsFileSystem::CreateDir(const string& name) {
456 Status result;

Callers

nothing calls this directly

Calls 3

Utf8ToWideCharFunction · 0.85
IOErrorFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected