mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add io::last_write_time & add io::write_zip
This commit is contained in:
parent
edb581bee3
commit
57d05bde57
8 changed files with 197 additions and 19 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue