mholt

archives

Cross-platform library to create & extract archives, compress & decompress files, and walk virtual file systems across various formats

by mholt

Go

Go100%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
57
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 2mo ago
See all on GitHub →
bensynapse

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.

bensynapse · 1w ago
AdamMagued

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.

AdamMagued · 1w ago
Structured data for AI agents

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.