/targz

Library for packaging/extracting folders in tar.gz archives.

Primary LanguageGoMIT LicenseMIT

This package exists for archival reasons only. It is not working correctly and not intended to be maintained in any way, please do not use it.

Targz

Library for packaging folders in tar.gz archives.

Documentation on godoc.org

Installation

Installing using go get is the easiest.

go get github.com/m90/targz

Usage

The API is really simple, there is only one method.

  • Compress

Create an archive containing a folder

import "github.com/m90/targz"
...
err := targz.Compress("my_folder", "my_file.tar.gz")

Contributing

All contributions are welcome! See CONTRIBUTING for more info.

License

Licensed under MIT license. See LICENSE for more information.