MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetRelative

Function GetRelative

src/openrct2/core/Path.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 u8string GetRelative(u8string_view path, u8string_view base)
126 {
127 std::error_code ec;
128 return fs::relative(fs::u8path(path), fs::u8path(base), ec).u8string();
129 }
130
131 bool Equals(u8string_view a, u8string_view b)
132 {

Callers 1

GetPathRelativeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected