The naming matches that of std::fs::Metadata. An entry is determined to be a directory based on the presence of a trailing path separator, i.e. '/' or '\'. This patch adds a small test zip containing files and directories. Their names match their type so as to make testing easy. |
||
---|---|---|
.. | ||
files_and_dirs.zip | ||
invalid_offset.zip | ||
mimetype.zip | ||
zip64_demo.zip |