aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-10 14:53:06 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-10 14:54:12 +0100
commit1736b785dda2ba5b8a81ac0db339c36b579f7f0a (patch)
tree3b9f1e74560981c8ee4ac8eff94175b0b026d59a /include
parent20d4d34e136cbbc526fbc0246b07e4d7757b32a1 (diff)
Change program arguments to use current path as project path
Option "-p" can be passed to specify another project path
Diffstat (limited to 'include')
-rw-r--r--include/FileUtil.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp
index 5a0bbc3..8407a36 100644
--- a/include/FileUtil.hpp
+++ b/include/FileUtil.hpp
@@ -24,6 +24,7 @@ namespace sibs
Result<StringView> getFileContent(const char *filepath);
bool fileOverwrite(const char *filepath, StringView data);
const char* getHomeDir();
+ Result<std::string> getCwd();
}
#endif //SIBS_FILEUTIL_HPP