tar

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 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 {
	Dependencies
}

Tarer is a krok tarer.

func NewTarer

func NewTarer(deps Dependencies) *Tarer

NewTarer creates a krok tarer.

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 tarfile 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