archiver

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SkipFile error = errors.New("skip this file")
	SkipDir  error = filepath.SkipDir
)

Functions

This section is empty.

Types

type Archiver

type Archiver interface {
	Init(dst string) (io.Closer, error)
	WriteBytes(fName string, buf []byte) error
	WriteFile(baseDir string, fName string) error
	WriteDirectory(baseDir string, excludeFn func(fsPath string, d os.DirEntry) error) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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