aboutsummaryrefslogtreecommitdiff
path: root/include/FileUtil.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-09 02:43:02 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-09 02:43:02 +0100
commitd9090882cae78695765204a3e1b60c6a9bf27977 (patch)
treee3e75fef97df7e02cd715af718ae7c3ffeaee00f /include/FileUtil.hpp
parentfb2072deb3e50afdb062570a3a80ec1afb5bfb56 (diff)
Added ninja backend, very simple project works
Diffstat (limited to 'include/FileUtil.hpp')
-rw-r--r--include/FileUtil.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp
index 345c72a..4083cb1 100644
--- a/include/FileUtil.hpp
+++ b/include/FileUtil.hpp
@@ -20,6 +20,7 @@ namespace sibs
FileType getFileType(const char *path);
void walkDirFiles(const char *directory, FileWalkCallbackFunc callbackFunc);
Result<StringView> getFileContent(const char *filepath);
+ bool fileOverwrite(const char *filepath, StringView data);
}
#endif //SIBS_FILEUTIL_HPP