aboutsummaryrefslogtreecommitdiff
path: root/include/Storage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-30 18:19:57 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-30 18:19:57 +0100
commit29c346fea61da23813dbee30f774547d913abf33 (patch)
tree6fa97dd00b548efdc9c165f784e4844cbbbb2a3c /include/Storage.hpp
parent853e6db3123415c57aabd7ae3644ebe28a46939f (diff)
Only show kick/ban notification onceHEADmaster
Diffstat (limited to 'include/Storage.hpp')
-rw-r--r--include/Storage.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp
index 60c15f6..86c34d2 100644
--- a/include/Storage.hpp
+++ b/include/Storage.hpp
@@ -34,6 +34,7 @@ namespace QuickMedia {
bool file_get_last_modified_time_seconds(const char *path, time_t *result);
int file_overwrite(const Path &path, const std::string &data);
int file_overwrite_atomic(const Path &path, const std::string &data);
+ bool file_append(const Path &path, const std::string &data);
// The callback is called with 0 as the argument (last_modified_seconds)
void for_files_in_dir(const Path &path, FileIteratorCallback callback);
void for_files_in_dir_sort_last_modified(const Path &path, FileIteratorCallback callback, FileSortDirection sort_dir = FileSortDirection::ASC);