archive

package
v0.0.0-...-0fd6310 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tar

func Tar(srcPath, dst string) error

func TarStream

func TarStream(dst io.Writer, srcPath string) error

func Untar

func Untar(dst string, src io.Reader) error

Types

type Gzip

type Gzip struct {
	// contains filtered or unexported fields
}

func NewGzip

func NewGzip(dst, src string) *Gzip

func (*Gzip) GetUnarchSize

func (a *Gzip) GetUnarchSize() (uint32, error)

func (*Gzip) GunZip

func (a *Gzip) GunZip(multiWriter ...io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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