contrary to what i said ealier, there is now a way to get list of
known files, with their times and packed size (if containter
supports that feature).
zip reader now understands all standard zip methods (including
"shrink", "reduce" and "implode"), and LZMA (no external lzma
library
iv.vfs gained ability to list files in all registered VFSes, and
it now can open disk files regardless of name case on POSIX
systems (this is controlled by global flags, or additional
letters «i» and «I» in file mode arg).
p.s. it's only for opening files with known names and doing file
i/o. it doesn't support other FS operations (like getting list of
files, or file renaming), as i wrote it for using in my game
engines, and i don't need such operations there. so i won't add
that, it's out of scope of the
oops. almost forgot to mention that it works only with POSIX
systems now. windoze port *may* be done in the future (it's not
that hard — basically, replace fopen/fseek/etc. imports and
calls). sure, you can DIY and send me a patch too.
here[1] you can get a simple VFS system (yep, another one!). it
introduces `VFile` struct (kinda like `std.stdio.File`, but with
less features), which can wrap your own custom streams,
`std.stdio.File`, libc `FILE*`, integer file descriptor...
actually, anything you'll do a simple wrapper for.