diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-15 06:06:02 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 8a030b5e77031c8b3347170d28758097bca1f15e (patch) | |
tree | 780631de9700a37e862b4aa8f946a71cd163c633 /include/odhtdb/FileUtils.hpp | |
parent | 54f53857279644914e0c2a2aed24060f31ed2575 (diff) |
Store known remote nodes and connect to them next time
Diffstat (limited to 'include/odhtdb/FileUtils.hpp')
-rw-r--r-- | include/odhtdb/FileUtils.hpp | 4 |
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); } |