mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-12 13:35:11 +00:00
[PR #206] [MERGED] Zip64 extending information and ZipReader #895
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?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/206
Author: @markryd
Created: 1/25/2017
Status: ✅ Merged
Merged: 1/25/2017
Merged by: @adamhathcock
Base:
master← Head:zip64-extraction📝 Commits (2)
839b3abAdd support for zip64 extended information fielda8c3a74Add support for zip64 to ZipReader📊 Changes
6 files changed (+119 additions, -5 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs(+20 -2)📝
src/SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs(+13 -0)📝
src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs(+77 -1)📝
src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs(+1 -1)📝
src/SharpCompress/Common/Zip/ZipFilePart.cs(+1 -1)📝
test/SharpCompress.Test/Zip/ZipReaderTests.cs(+7 -0)📄 Description
This PR adds support for reading the zip64 extended information field, which wasn't required for my previous test files, but probably is required in general for zip64 archives (the tripping point in my testing was new files starting beyond the 4Gb point of my archive).
Adding this support also instantly fixed the trouble I was having with ZipReader support, so that has been included.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.