arc

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoCustom = errors.New("does not support customization")
	ErrWalkrFmt = errors.New("format specified by archive filename is not a walker format")
)

Functions

func Configure

func Configure(f any) error

Configure interface for the archiver, a cross-platform, multi-format archive utility and Go library.

func Walkr

func Walkr(src, filename string, walkFn archiver.WalkFunc) error

Walkr calls walkFn for each file within the given archive file. The archive format is chosen implicitly. Archiver relies on the filename extension to determine which decompression format to use, which must be supplied using filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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