Thanks to visit codestin.com
Credit goes to pkg.go.dev

archive

package
v2.21.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTarFromZip

func CreateTarFromZip(zipReader *zip.Reader, maxSize int64) ([]byte, error)

CreateTarFromZip converts the given zipReader to a tar archive.

func CreateZipFromTar

func CreateZipFromTar(tarReader *tar.Reader, maxSize int64) ([]byte, error)

CreateZipFromTar converts the given tarReader to a zip archive.

func WriteZip

func WriteZip(w io.Writer, tarReader *tar.Reader, maxSize int64) error

WriteZip writes the given tarReader to w.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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