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

Function MakeAbsolutePath

catboost/private/libs/options/path_helpers.cpp:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4TString MakeAbsolutePath(const TString& path) {
5 if (TFsPath(path).IsAbsolute()) {
6 return path;
7 }
8 return JoinFsPaths(TFsPath::Cwd(), path);
9}

Callers 2

EvaluateFeaturesFunction · 0.85

Calls 4

JoinFsPathsFunction · 0.85
CwdClass · 0.85
IsAbsoluteMethod · 0.80
TFsPathClass · 0.50

Tested by

no test coverage detected