Compare commits

7 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
11c5657f4f test build 2019-08-07 23:52:56 +08:00
9b42459dc3 test build 2019-08-07 23:50:45 +08:00
75f1afc707 test build 2019-08-07 23:50:41 +08:00
13 changed files with 15 additions and 17 deletions

3
.gitignore vendored
View File

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

View File

@ -19,11 +19,5 @@ cache:
before_install:
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
install:
- go mod install
script:
- go test -v
after_success:
# - goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt

View File

@ -1,5 +1,17 @@
# Unxz
[![Build Status](https://img.shields.io/travis/com/yi-ge/unxz/master.svg)](https://travis-ci.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)
[![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