e7z

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Zlib Imports: 7 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 struct {
	Path     string
	Filename string
}

Archive as 7z.

func New

func New(target io.WriteCloser, path, filename string) Archive

New tar archive.

func (Archive) Add

func (a Archive) Add(f fileconfig.File, stream ...fileconfig.ReaderStream) error

Add file to the archive.

func (Archive) Close

func (a Archive) Close() error

Close all closeables.

func (Archive) Stream

func (a Archive) Stream(f fileconfig.File, stream ...fileconfig.ReaderStream) error

Jump to

Keyboard shortcuts

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