tar

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	FileId *os.File
	Gzip   *gzip.Writer
	Tar    *tar.Writer
}

func NewFile

func NewFile(dest string) *File

func (*File) Close

func (f *File) Close()

func (*File) Compress

func (f *File) Compress(list *[]FileList) error

type FileList

type FileList struct {
	Info     os.FileInfo
	BasePath string
	FillPath string
}

Jump to

Keyboard shortcuts

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