Commit activity
Last 12 weeks · 2 commits
Community health
2 of 6 standards met
Recent PRs & issues
I run Live Tennis API. CompressedArchive.Archive and ArchiveAsync now return compression Close errors after successful archive creation. They preserve the original archive error when both operations fail. A gzip archive written to an output that fills after its header currently returns nil. The added regressions reproduce this for both methods. Tests also check complete gzip output and caller ownership of the output writer. Checked with Go 1.25.5: , , and all pass. Both output failure regressions fail against the unchanged source.
Fixes #82 Summary Delayed writing the XZ stream header in the compressor until payload write or close, preventing stream headers from preceding zip local file headers. Registered decompressors on the zip reader during extraction and on the updater. Added round-trip unit tests covering archive creation, format validity, and extraction. Verified via container sandbox test suite.
Repository: mholt/archives. Description: Cross-platform library to create & extract archives, compress & decompress files, and walk virtual file systems across various formats Stars: 449, Forks: 54. Primary language: Go. Languages: Go (100%). License: MIT. Homepage: https://pkg.go.dev/github.com/mholt/archives Topics: 7zip, archives, brotli, bzip2, compression, extract, fs, go, golang, gzip, lz4, lzip, rar, snappy, streams, tar, xz, zip, zlib, zstandard. Latest release: v0.1.5 (1y ago). Open PRs: 11, open issues: 8. Last activity: 2mo ago. Community health: 57%. Top contributors: mholt, M0Rf30, sephriot, darkliquid, dpgarrick, dirkmueller, Gusted, Hashim1999164, solvingj, joonas and others.