tar_utils

package module
v0.0.0-...-6377a53 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive interface {
	Unpack(string) error
	// contains filtered or unexported methods
}

type FakeReadCloser

type FakeReadCloser struct {
	io.Reader
}

func (FakeReadCloser) Close

func (frc FakeReadCloser) Close() error

type File

type File struct {
	os.FileInfo
	*tar.Header
	io.ReadCloser
}

type TarArchive

type TarArchive struct {
	ContinueOnErr bool
	Verbose       bool
	// contains filtered or unexported fields
}

func NewArchive

func NewArchive(reader io.Reader, coe bool) *TarArchive

func (*TarArchive) Unpack

func (a *TarArchive) Unpack(destination string) error

Jump to

Keyboard shortcuts

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