tar

package
v0.0.0-...-d0b32f8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Logger zerolog.Logger
}

Dependencies .

type Tarer

type Tarer struct {
	Logger zerolog.Logger
}

Tarer is a tarer.

func NewTarer

func NewTarer(logger zerolog.Logger) *Tarer

NewTarer creates a provider which can tar / untar archives.

func (*Tarer) Untar

func (t *Tarer) Untar(dst string, r io.Reader) error

Untar takes a destination path and a reader; a tar reader loops over the tar file creating the file structure at 'dst' along the way, and writing any files

Jump to

Keyboard shortcuts

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