add io::last_write_time & add io::write_zip

This commit is contained in:
MihailRis 2025-02-25 02:03:01 +03:00
parent edb581bee3
commit 57d05bde57
8 changed files with 197 additions and 19 deletions

View file

@ -40,6 +40,7 @@ namespace io {
std::unique_ptr<std::ostream> write(std::string_view path) override;
std::unique_ptr<std::istream> read(std::string_view path) override;
size_t size(std::string_view path) override;
io::file_time_type lastWriteTime(std::string_view path) override;
bool exists(std::string_view path) override;
bool isdir(std::string_view path) override;
bool isfile(std::string_view path) override;
@ -56,4 +57,6 @@ namespace io {
Entry readEntry();
void findBlob(Entry& entry);
};
void write_zip(const path& folder, const path& file);
}