targz

package
v0.0.0-...-dae269f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package targz provides facilities for packaging tar.gz files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Package

func Package(dst, src string, onCopy func(rel string, src string)) (count int64, err error)

Package packages the source directory into a 'tar.gz' file into destination. If the destination already exists, it is truncated.

onCopy, when not nil, is called for each file being copied into the archive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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