MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / cliAbsolutePath

Function cliAbsolutePath

Source/Basic/Application.cpp:128–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128fs::path cliAbsolutePath(const fs::path& path, const fs::path& base = fs::current_path()) {
129 return fs::absolute(path.is_relative() ? base / path : path).lexically_normal();
130}
131
132int cliCommandIndex(int argc, char* argv[]) {
133 for (int i = 1; i < argc; i++) {

Callers 4

cliFindAssetArgumentFunction · 0.85
cliLuaAbsoluteFunction · 0.85
cliRegisterLuaFunction · 0.85
cliFindScriptFunction · 0.85

Calls 4

current_pathFunction · 0.85
absoluteFunction · 0.85
lexically_normalMethod · 0.80
is_relativeMethod · 0.80

Tested by

no test coverage detected