unxz

package module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2019 License: MIT Imports: 9 Imported by: 1

README

Unxz

Build Status GoDoc codebeat badge Go Report Card

Golang *.tar.xz decompress.

Usage

import "github.com/yi-ge/unxz"

u := unxz.New(filePath, outDir)
err := u.Extract()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unxz

type Unxz struct {
	Src  string
	Dest string
}

Unxz - Unxz struct.

func New

func New(src string, dest string) Unxz

New - Create a new Unxz.

func (Unxz) Extract

func (uz Unxz) Extract() error

Extract - Extract *.tar.xz package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL