Compare commits
7 Commits
ae2ceefcf9
...
v1.0.2
Author | SHA1 | Date | |
---|---|---|---|
0498b70454 | |||
e7452feddf | |||
643df15eb8 | |||
fb28920794 | |||
11c5657f4f | |||
9b42459dc3 | |||
75f1afc707 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
# Mac
|
# Mac
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Test out
|
||||||
|
/test/out
|
||||||
|
@ -19,11 +19,5 @@ cache:
|
|||||||
before_install:
|
before_install:
|
||||||
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
||||||
|
|
||||||
install:
|
|
||||||
- go mod install
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v
|
- go test -v
|
||||||
|
|
||||||
after_success:
|
|
||||||
# - goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt
|
|
||||||
|
12
README.md
12
README.md
@ -1,5 +1,17 @@
|
|||||||
# Unxz
|
# Unxz
|
||||||
|
|
||||||
|
[](https://travis-ci.com/yi-ge/unxz)
|
||||||
[](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