Skip to content

Commit

Permalink
Merge pull request #12 from aemengo/add-unpack-to-in-2
Browse files Browse the repository at this point in the history
[Attempt #2] Add params.unpack functionality to ./in
  • Loading branch information
frodenas authored May 16, 2018
2 parents 3c5930e + 3e52173 commit 4408a63
Show file tree
Hide file tree
Showing 3,047 changed files with 2,103 additions and 2,687,555 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
127 changes: 117 additions & 10 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@
[prune]
go-tests = true
unused-packages = true

[[constraint]]
name = "github.com/h2non/filetype"
version = "1.0.5"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Places the following files in the destination:

#### Parameters

*None*
* `unpack`: *Optional.* If true and the file is an archive (tar, gzipped tar, other gzipped file, or zip), unpack the file. Gzipped tarballs will be both ungzipped and untarred.

### `out`: Upload an object to the bucket.

Expand Down
1 change: 1 addition & 0 deletions gcsclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"gopkg.in/cheggaaa/pb.v1"
)

//go:generate counterfeiter -o fakes/fake_gcsclient.go . GCSClient
type GCSClient interface {
BucketObjects(bucketName string, prefix string) ([]string, error)
ObjectGenerations(bucketName string, objectPath string) ([]int64, error)
Expand Down
Loading

0 comments on commit 4408a63

Please sign in to comment.