archiveutil

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Guntar

func Guntar(ctx context.Context, r io.Reader, rootfs fs.FullFS) error

Guntar is the same as Untar, but it first decodes the gzipped archive.

func Unar added in v0.3.0

func Unar(ctx context.Context, r io.Reader, rootfs fs.FullFS) error

Unar expands an ar archive into the given path.

func Untar

func Untar(ctx context.Context, r io.Reader, rootfs fs.FullFS) error

Untar expands a tar archive into the given path.

func XZuntar added in v0.3.0

func XZuntar(ctx context.Context, r io.Reader, rootfs fs.FullFS) error

XZuntar is the same as Untar, but it first decodes the XZ archive

func Zuntar added in v0.3.0

func Zuntar(ctx context.Context, r io.Reader, rootfs fs.FullFS) error

Zuntar is the same as Untar, but it first decodes the Zstandard archive

Types

This section is empty.

Jump to

Keyboard shortcuts

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