packit

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

README

PackIt

GoDoc Build Status

PackIt is a Go library to natively archive and/or compress individual files or directories in an easy way.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bzip2

func Bzip2(in io.Reader, out io.Writer) error

Bzip2 compresses an input stream using bzip2.

func Gzip

func Gzip(in io.Reader, out io.Writer) error

Gzip compresses an input stream using gzip.

func Tar

func Tar(root string, out io.Writer)

Tar walks the file tree rooted at root and archives it all using Tar.

func Xz

func Xz(in io.Reader, out io.Writer) error

Xz compresses an input stream using xz.

func Zip

func Zip(root string, out io.Writer)

Zip walks the file tree rooted at root and archives it into the output stream using zip algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL