Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
0498b70454 | |||
e7452feddf | |||
643df15eb8 | |||
fb28920794 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
# Mac
|
# Mac
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Test out
|
||||||
|
/test/out
|
||||||
|
11
README.md
11
README.md
@ -4,3 +4,14 @@
|
|||||||
[](https://godoc.org/github.com/yi-ge/unxz)
|
[](https://godoc.org/github.com/yi-ge/unxz)
|
||||||
[](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
|
[](https://codebeat.co/projects/github-com-yi-ge-unxz-master)
|
||||||
[](https://goreportcard.com/report/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()
|
||||||
|
```
|
||||||
|
@ -1 +0,0 @@
|
|||||||
1
|
|
@ -1,2 +0,0 @@
|
|||||||
2
|
|
||||||
123
|
|
@ -1 +0,0 @@
|
|||||||
dir/d.txt
|
|
@ -1,2 +0,0 @@
|
|||||||
2
|
|
||||||
123
|
|
@ -1 +0,0 @@
|
|||||||
3
|
|
@ -1 +0,0 @@
|
|||||||
4abcde
|
|
@ -1 +0,0 @@
|
|||||||
../f.txt
|
|
@ -1 +0,0 @@
|
|||||||
4abcde
|
|
@ -1 +0,0 @@
|
|||||||
5
|
|
Reference in New Issue
Block a user