enhancementhelp wantedzip
倉庫指標
- Star
- (3,502 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Steps to reproduce
- Use
ZipFile.Create(archivePath)to create an archive. - Close created ZipFile without adding anything to it.
Expected behavior
Created archive have non-zero size (should have "End of central directory record" and be at least 22 bytes according to specification)
Actual behavior
Archive size is 0 bytes, attempt to open it with new ZipFile(archivePath) leads to ZipException "Cannot find central directory"
Version of SharpZipLib
1.1.0 also tried 1.2.0
Obtained from (only keep the relevant lines)
- Package installed using NuGet