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

Method IsAbsolutePath

util/folder/pathsplit.h:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 static inline bool IsAbsolutePath(const TStringBuf path) noexcept {
55 return path && (IsPathSep(path[0]) || (path.size() > 1 && path[1] == ':' && IsAsciiAlpha(path[0]) && (path.size() == 2 || IsPathSep(path[2]))));
56 }
57
58 void DoParseFirstPart(const TStringBuf part);
59 void DoParsePart(const TStringBuf part);

Callers

nothing calls this directly

Calls 2

IsAsciiAlphaFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected