4 Commits

Author SHA1 Message Date
0498b70454 remove out directory 2019-08-08 21:48:09 +08:00
e7452feddf remove out directory 2019-08-08 21:47:55 +08:00
643df15eb8 add usage 2019-08-08 00:12:16 +08:00
fb28920794 add usage 2019-08-08 00:09:08 +08:00
12 changed files with 14 additions and 11 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# Mac # Mac
.DS_Store .DS_Store
# Test out
/test/out

View File

@ -4,3 +4,14 @@
[![GoDoc](https://godoc.org/github.com/yi-ge/unxz?status.svg)](https://godoc.org/github.com/yi-ge/unxz) [![GoDoc](https://godoc.org/github.com/yi-ge/unxz?status.svg)](https://godoc.org/github.com/yi-ge/unxz)
[![codebeat badge](https://codebeat.co/badges/1a06ccdf-73a1-4e8c-bf84-b40c8f6beeb2)](https://codebeat.co/projects/github-com-yi-ge-unxz-master) [![codebeat badge](https://codebeat.co/badges/1a06ccdf-73a1-4e8c-bf84-b40c8f6beeb2)](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
[![Go Report Card](https://goreportcard.com/badge/github.com/yi-ge/unxz)](https://goreportcard.com/report/github.com/yi-ge/unxz) [![Go Report Card](https://goreportcard.com/badge/github.com/yi-ge/unxz)](https://goreportcard.com/report/github.com/yi-ge/unxz)
Golang \*.tar.xz decompress.
## Usage
```golang
import "github.com/yi-ge/unxz"
u := unxz.New(filePath, outDir)
err := u.Extract()
```

View File

View File

@ -1 +0,0 @@
1

View File

@ -1,2 +0,0 @@
2
123

View File

@ -1 +0,0 @@
dir/d.txt

View File

@ -1,2 +0,0 @@
2
123

View File

@ -1 +0,0 @@
3

View File

@ -1 +0,0 @@
4abcde

View File

@ -1 +0,0 @@
../f.txt

View File

@ -1 +0,0 @@
4abcde

View File

@ -1 +0,0 @@
5