Registry / utility / mholt-archiver

mholt-archiver

JSON →
library3.1.1+incompatiblegogounverified

Package archiver facilitates convenient, cross-platform, high-level archival and compression operations for a variety of formats and compression algorithms.

go get github.com/mholt/archiver
INSTALL
IMPORT
SIG · MHOLT-ARCHIVER
M
mholt-archiver
utilitygov3.1.1+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

archiver
github.com/mholt/archiver

Create a ZIP archive from multiple files.

package main import ( "github.com/mholt/archiver" ) func main() { err := archiver.Archive([]string{"file1.txt", "file2.txt"}, "archive.zip") if err != nil { panic(err) } }
Debug
Known issues
breakingVersion 3.x has breaking API changes from v2; v3 uses a different interface.
fix
Use v3 API or stick with v2 if upgrading from older code.
affects: >=3.0.0
Upgrade
Version history
3.1.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mholt-archiver — go get mholt-archiver · libregistry