Skip to content

slimsag/untargz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Untargz

Is a simple library to untar a tar.gz file from an io.Reader.

Usage

import "github.com/slimsag/untargz"

...
err := untargz.Extract(r, "destination/folder", nil)
...

Credit

This is really just a small subset of the code in https://github.com/mholt/archiver -- because it doesn't support providing an io.Reader (it requires an on-disk filename). As such, all credit for this goes to @mholt.

About

Untargz is a simple library to untar a tar.gz file from an io.Reader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages