Added Utils::getWorkingDirPath() function
This commit is contained in:
parent
bfa1ae048b
commit
09722f5990
3 changed files with 11 additions and 5 deletions
|
|
@ -75,4 +75,9 @@ namespace ostd
|
||||||
return home_path;
|
return home_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::filesystem::path Utils::getWorkingDirPath(void)
|
||||||
|
{
|
||||||
|
return std::filesystem::current_path();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -196,6 +196,7 @@ namespace ostd
|
||||||
static std::vector<std::filesystem::path> listDirectoriesInDirectoryRecursive(const String& directoryPath);
|
static std::vector<std::filesystem::path> listDirectoriesInDirectoryRecursive(const String& directoryPath);
|
||||||
static std::vector<std::filesystem::path> listDirectoryRecursive(const String& directoryPath);
|
static std::vector<std::filesystem::path> listDirectoryRecursive(const String& directoryPath);
|
||||||
static ostd::String getHomeDirPath(void);
|
static ostd::String getHomeDirPath(void);
|
||||||
|
static std::filesystem::path getWorkingDirPath(void);
|
||||||
|
|
||||||
//Implemented in <ShuntingYard.cpp>
|
//Implemented in <ShuntingYard.cpp>
|
||||||
static int32_t solveIntegerExpression(const String& expr);
|
static int32_t solveIntegerExpression(const String& expr);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue