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.
979 B
979 B