MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / getAbsolutePath

Function getAbsolutePath

src/osvr/Common/PathTree.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 static inline std::string getAbsolutePath(PathNode &node,
128 std::string const &path) {
129 if (isPathAbsolute(path)) {
130 return path;
131 }
132 return getFullPath(treePathRetrieve(node, path));
133 }
134
135 bool addAliasFromSourceAndRelativeDest(PathNode &node,
136 std::string const &source,

Callers 1

Calls 2

isPathAbsoluteFunction · 0.85
getFullPathFunction · 0.85

Tested by

no test coverage detected