From 6b347e7310c501b826785e9639d962ba1d448b4b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 23 Sep 2020 00:56:54 +0200 Subject: Add matrix image upload --- 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 cdae7b0..38c083e 100644 --- a/include/Storage.hpp +++ b/include/Storage.hpp @@ -22,6 +22,7 @@ namespace QuickMedia { int create_directory_recursive(const Path &path); FileType get_file_type(const Path &path); int file_get_content(const Path &path, std::string &result); + int file_get_size(const Path &path, size_t *size); int file_overwrite(const Path &path, const std::string &data); void for_files_in_dir(const Path &path, FileIteratorCallback callback); void for_files_in_dir_sort_last_modified(const Path &path, FileIteratorCallback callback); -- cgit v1.2.3