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

Method FileUtils

tools/common/Utils.cpp:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60FileUtils::FileUtils()
61{
62 mSearchPaths.push_back("");
63 char currentPathTemp[FILENAME_MAX];
64 if (getCwd(currentPathTemp, sizeof(currentPathTemp)))
65 {
66 std::string currentPath(currentPathTemp);
67 addSlashToPath(currentPath);
68 addAbsolutePath(currentPath);
69 mCurrentPath = currentPath;
70 }
71}
72
73std::string FileUtils::getDirectory(const std::string& filePath)
74{

Callers

nothing calls this directly

Calls 2

addSlashToPathFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected