MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / getAbsolutePath

Function getAbsolutePath

src/server/gui/core/utils/FileSystemUtil.cpp:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423//////////////////////////////////////////////////////////////////////////
424
425 std::string getAbsolutePath(const std::string& _path, const std::string& _base)
426 {
427 const std::string path = getGenericPath(_path);
428 const std::string base = isAbsolute(_base) ? getGenericPath(_base) : getAbsolutePath(_base);
429
430 // return absolute path
431 return isAbsolute(path) ? path : getGenericPath(base + "/" + path);
432
433 } // getAbsolutePath
434
435//////////////////////////////////////////////////////////////////////////
436

Callers 1

getCanonicalPathFunction · 0.85

Calls 2

getGenericPathFunction · 0.85
isAbsoluteFunction · 0.85

Tested by

no test coverage detected