mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 21:26:07 +00:00
GZipArchives created from a stream have ArchiveType set to Tar instead of GZip
#642
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Morilli on GitHub (May 30, 2024).
Since
61c01ce9b0,GZipArchives created from a source stream get theirArchiveTypeset toArchiveType.Tarinstead ofArchiveType.GZip.6fc4b045fd/src/SharpCompress/Archives/GZip/GZipArchive.cs (L103-L104)This gives an incorrect
ArchiveTypewhen checking withArchiveFactory.Openfor example.