archive

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT, BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package archive untars a tarball to disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Untar

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

Untar reads the gzip-compressed tar file from r and writes it into dir. If the given notifyDone function is not nil, it is called as soon as untar is done for a tar archive entry using the name of the tar file entry as argument s.

Types

This section is empty.

Jump to

Keyboard shortcuts

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