mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-18 05:25:34 +00:00
Currently, when ArchiveFactory.Open is called on an empty tar archive, it throws due to being unable to determine the stream type. This fix allows it to recognise empty tar files by checking for whether the filename is empty, the size is empty and the entry type is defined. Add a test to try opening an empty archive.