MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / MakeRelative

Method MakeRelative

libaegisub/common/path.cpp:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76fs::path Path::MakeRelative(fs::path const& path, std::string_view token) const {
77 return MakeRelative(path, paths[checked_find_token(token)]);
78}
79
80fs::path Path::MakeRelative(fs::path const& path, fs::path const& base) const {
81 if (path.empty() || base.empty()) return path;

Callers 3

SaveLoadedListMethod · 0.80
UpdateRelativePathsMethod · 0.80
TESTFunction · 0.80

Calls 4

checked_find_tokenFunction · 0.85
stringMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.64