tar

package
v1.113.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tar provides simple tar extraction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(tr *tar.Reader, dst string) error

Extract the contents of a tar reader into the 'dst' directory.

func ExtractArchive

func ExtractArchive(src, dst string) error

ExtractArchive extracts the contents of a tar archive at 'src' into the 'dst' directory.

func ExtractArchiveWithMask

func ExtractArchiveWithMask(src, dst string, mask os.FileMode) error

ExtractArchiveWithMask extracts the contents of a tar archive at 'src' into the 'dst' directory.

func ExtractWithMask

func ExtractWithMask(tr *tar.Reader, dst string, mask os.FileMode) error

ExtractWithMask the contents of a tar reader into the 'dst' directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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