tar

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 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 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 {
	BasePath string // 本地路径
	FillPath string // 压缩路径
}

Jump to

Keyboard shortcuts

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