Skip to content
/ tar-xz Public

A simple Go module for decompressing a tar.xz file

License

Notifications You must be signed in to change notification settings

ansidev/tar-xz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.