| 58 | } |
| 59 | |
| 60 | FileUtils::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 | |
| 73 | std::string FileUtils::getDirectory(const std::string& filePath) |
| 74 | { |
nothing calls this directly
no test coverage detected