aboutsummaryrefslogtreecommitdiff
path: root/include/Storage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-23 00:56:54 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-23 01:00:37 +0200
commit6b347e7310c501b826785e9639d962ba1d448b4b (patch)
tree6d84b547078d009565a75ac2df42423c06c578b7 /include/Storage.hpp
parenta8e0846a7c111a8d5b5cf8592ecb9b9bbd15ce26 (diff)
Add matrix image upload
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 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);