/tar-xz

A simple Go module for decompressing a tar.xz file

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

tar-xz

Go Reference Go CI

Introduction

A simple Go module for decompressing a tar.xz file.

Supported platforms

  • Linux
  • macOS

Example

package main

import (
	tarXz "github.com/ansidev/tar-xz"
)

func main() {
	err := tarXz.Decompress("archive.tar.xz", "/path/to/output/dir")
	if err != nil {
		log.Fatal(err)
	}
}

Contact

Le Minh Tri @ansidev.

License

This source code is available under the AGPL-3.0 LICENSE.