diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-05 17:36:54 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-05 17:36:54 +0200 |
commit | d7a681b69153ea99f03c128fce5d297ff1f635f6 (patch) | |
tree | 83e446359b316adbe57ce618c773d27dc88a1cd6 /include | |
parent | cbcdbdbf488b73120b2b604343ac64213cdbb1f8 (diff) |
Fix incorrect times, add time to manga history
Diffstat (limited to 'include')
-rw-r--r-- | include/Storage.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Storage.hpp b/include/Storage.hpp index 93d13ff..c3f40aa 100644 --- a/include/Storage.hpp +++ b/include/Storage.hpp @@ -24,6 +24,7 @@ namespace QuickMedia { 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); + 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); void for_files_in_dir(const Path &path, FileIteratorCallback callback); |