archive

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnpackArchive

func UnpackArchive(targetDir, archiveFile string) error

UnpackArchive unpacks the provided archive zip or tar.gz file to targetDir, removing the "go/" prefix from file entries.

func UnpackTarGz

func UnpackTarGz(targetDir, archiveFile string) error

UnpackTarGz is the tar.gz implementation of unpackArchive.

func UnpackZip

func UnpackZip(targetDir, archiveFile string) error

UnpackZip is the zip implementation of unpackArchive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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