MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetAbsolute

Function GetAbsolute

util/src/FileSystem.cpp:304–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 std::string
305 GetAbsolute(std::string const& path, std::string const& base)
306 {
307 if (IsRelative(path))
308 {
309 return base + DIR_SEP + path;
310 }
311 return path;
312 }
313
314 void
315 MakePath(std::string const& path)

Callers 2

TEST_FFunction · 0.85
GetPersistentStoragePathFunction · 0.85

Calls 1

IsRelativeFunction · 0.85

Tested by 1

TEST_FFunction · 0.68