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

Method Exists

util/system/fs.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167bool NFs::Exists(const TString& path) {
168#if defined(_win_)
169 return NFsPrivate::WinExists(path);
170#elif defined(_unix_)
171 return access(path.data(), F_OK) == 0;
172#endif
173}
174
175TString NFs::CurrentWorkingDirectory() {
176#if defined(_win_)

Callers 4

PrepareToOpenLogFunction · 0.45
ReInitializeMethod · 0.45
TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 3

WinExistsFunction · 0.85
accessFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected