mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
- create_zip from a subdirectory wrote entry names with a leading
'/', so the mounted archive looked empty
- memory_ostream did not support tellp(), so create_zip into a memory
device wrote invalid offsets (-1) to the archive
- ZipFileDevice added missing parent directories for the first entry
only
- ZipFileDevice::exists returned false for the archive root
- MemoryDevice::mkdirs recreated existing directories, dropping their
content (mkdir("a/b") cleared "a"); overwriting a file duplicated its
name in the directory listing
Added dev/tests/zip_files.lua: builds archives with file.create_zip
from memory device root, subdirectories and the real filesystem,
mounts them and checks reading, listing and read-only access.
memory_filesystem.lua got checks for the MemoryDevice issues.
Closes #544
|
||
|---|---|---|
| .. | ||
| attachments | ||
| base_entities.lua | ||
| bytearray.lua | ||
| canvas_lines.lua | ||
| chunks.lua | ||
| crypto.lua | ||
| data_buffer.lua | ||
| filesystem.lua | ||
| io_stream.lua | ||
| memory_filesystem.lua | ||
| network_http.lua | ||
| network_tcp.lua | ||
| network_udp.lua | ||
| parsing.lua | ||
| raycast.lua | ||
| reload_module.lua | ||
| world.lua | ||
| zip_files.lua | ||