MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / AbsPath

Function AbsPath

src/OpenColorIO/PathUtils.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153std::string AbsPath(const std::string & path)
154{
155 std::string p = path;
156 if(!pystring::os::path::isabs(p)) p = pystring::os::path::join(GetCwd(), p);
157 return pystring::os::path::normpath(p);
158}
159
160namespace
161{

Callers 2

loadFunction · 0.70
loadMethod · 0.50

Calls 1

GetCwdFunction · 0.70

Tested by

no test coverage detected