MCPcopy Create free account
hub / github.com/catboost/catboost / WinExists

Function WinExists

util/system/fs_win.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 bool WinExists(const TString& path) {
124 TUtf16String buf;
125 LPCWSTR ptr = UTF8ToWCHAR(path, buf);
126 return ::GetFileAttributesW(ptr) != INVALID_FILE_ATTRIBUTES;
127 }
128
129 TString WinCurrentWorkingDirectory() {
130 TTempBuf result;

Callers 2

ExistsMethod · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 1

UTF8ToWCHARFunction · 0.70

Tested by

no test coverage detected