MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / addAbsolutePath

Method addAbsolutePath

tools/common/Utils.cpp:100–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void FileUtils::addAbsolutePath(const std::string& path)
101{
102 if (path.empty())
103 {
104 return;
105 }
106
107 std::string newPath = path;
108 addSlashToPath(newPath);
109
110 mSearchPaths.push_back(newPath);
111}
112
113void FileUtils::addRelativePath(const std::string& relPath)
114{

Callers

nothing calls this directly

Calls 3

addSlashToPathFunction · 0.85
push_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected