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

Function SafeResolveDir

util/folder/dirut.cpp:571–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571bool SafeResolveDir(const char* path, TString& result) {
572 try {
573 result = ResolvePath(path, true);
574 return true;
575 } catch (...) {
576 return false;
577 }
578}
579
580TString GetDirName(const TString& path) {
581 return TFsPath(path).Dirname();

Callers

nothing calls this directly

Calls 1

ResolvePathFunction · 0.85

Tested by

no test coverage detected