archive

package
v2.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package archive provides support for creating .tar.gz/.tgz archives of local folders and returning the in-memory buffer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTGZ added in v2.16.0

func ExtractTGZ(r io.Reader, dir string) error

ExtractTGZ uncompresses a .tar.gz/.tgz file into a specific directory.

func TGZ added in v2.3.0

func TGZ(dir, prefixPathInsideTar string, useDefaultExcludes bool) ([]byte, error)

TGZ adds the contents of the provided directory to an in-memory .tar.gz/.tgz and returns the bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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