untar

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: EPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package untar untars a zstd-compressed tarball to disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractRegularFile added in v1.1.0

func ExtractRegularFile(r io.Reader, member, dest string) error

ExtractRegularFile writes one regular file from a zstd-compressed tar to dest. Other archive members are skipped. dest's parent directories are created.

func Untar

func Untar(r io.Reader, dir string) error

Untar reads the zstd-compressed tar file from r and writes it into dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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