archive

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(archiveName string, archiveFormat Format, files []archives.FileInfo) error

func IsValidFormat

func IsValidFormat(format Format) bool

Types

type Format

type Format string
const (
	TARgz Format = "tar.gz"
	TAR   Format = "tar"
	ZIP   Format = "zip"
)

Jump to

Keyboard shortcuts

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