aboutsummaryrefslogtreecommitdiff
path: root/include/odhtdb/FileUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/odhtdb/FileUtils.hpp')
-rw-r--r--include/odhtdb/FileUtils.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/odhtdb/FileUtils.hpp b/include/odhtdb/FileUtils.hpp
index 7bfbe3e..88721ed 100644
--- a/include/odhtdb/FileUtils.hpp
+++ b/include/odhtdb/FileUtils.hpp
@@ -19,4 +19,8 @@ namespace odhtdb
// Creates file if it doesn't exist.
// Throws FileException on error
void fileAppend(const boost::filesystem::path &filepath, const DataView &data);
+
+ // Creates a file if it doesn'te xist.
+ // Throws FileException on error.
+ void fileOverwrite(const boost::filesystem::path &filepath, const DataView &data);
}