From 29c346fea61da23813dbee30f774547d913abf33 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 30 Oct 2024 18:19:57 +0100 Subject: Only show kick/ban notification once --- include/Storage.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/Storage.hpp') 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); -- cgit v1.2.3