lzip-go is an implementation of the lzip compressed format written in pure Go.
This package supports reading and writing of lzip compressed streams.
To install this package:
go get -u github.com/sorairolake/lzip-go
See the documentation for more details.
This package includes a simple command-line utility for reading and writing of lzip format compressed files.
go install github.com/sorairolake/lzip-go/cmd/glzip@latest
The release page contains pre-built binaries for Linux, macOS, Windows and others.
To build the command-line utility:
just build-cmd
To build a man page:
just build-man
The man page is generated in docs/man/man1
. Note that Asciidoctor is
required when building the man page.
Please see glzip(1)
.
This package requires the minimum version of Go 1.22.
The upstream repository is available at https://github.com/sorairolake/lzip-go.git.
The source code is also available at:
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
The API of this package is based on the compress/gzip
package.
This package uses the github.com/ulikunitz/xz/lzma
package to encode and
decode LZMA streams.
Copyright © 2024 Shun Sakai (see AUTHORS.adoc)
This package is distributed under the terms of either the Apache License 2.0 or the MIT License.
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.