This commit is contained in:
h4570
2022-07-30 17:00:22 +02:00
parent ff2967c7e5
commit 1bdb33e1a6
10 changed files with 195 additions and 67 deletions
+4
View File
@@ -56,6 +56,10 @@ std::string FileUtils::getCwd() {
return result;
}
std::string FileUtils::fromCwd(const std::string& relativePath) {
return fromCwd(relativePath.c_str());
}
std::string FileUtils::fromCwd(const char* file) {
auto cwd = getCwd();
return cwd + file;