MCPcopy Create free account
hub / github.com/axmolengine/axmol / fullPathFromRelativeFile

Method fullPathFromRelativeFile

core/platform/FileUtils.cpp:764–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764std::string FileUtils::fullPathFromRelativeFile(std::string_view filename, std::string_view relativeFile) const
765{
766 return std::string{relativeFile.substr(0, relativeFile.rfind('/') + 1)}.append(filename);
767}
768
769const std::vector<std::string>& FileUtils::getSearchPaths() const
770{

Callers 7

parseBinaryConfigFileMethod · 0.80
parseImageFileNameMethod · 0.80
loadMethod · 0.80
reloadMethod · 0.80
loadMethod · 0.80
reloadMethod · 0.80

Calls 3

appendMethod · 0.45
substrMethod · 0.45
rfindMethod · 0.45

Tested by 2

loadMethod · 0.64
reloadMethod · 0.64