archive

package
v0.4.1-8-gea1a237 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unarchive

func Unarchive(src, dst string, opts ...UnarchiveOption) error

Unarchive takes an input src file and determines (based on its extension)

func UntarGz

func UntarGz(src, dst string, opts ...UnarchiveOption) error

UntarGz unarchives a tarball which has been gzip compressed

Types

type UnarchiveOption

type UnarchiveOption func(uo *UnarchiveOptions) error

func StripComponents

func StripComponents(sc int) UnarchiveOption

type UnarchiveOptions

type UnarchiveOptions struct {
	StripComponents int
}

Jump to

Keyboard shortcuts

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