archive

package
v0.37.26 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustWriteTarGz

func MustWriteTarGz(files [][2]string) *bytes.Buffer

MustWriteTarGz write the list of file names and content into a tarball.

func WriteFile

func WriteFile(tw *tar.Writer, path string, bs []byte) error

WriteFile adds a file header with content to the given tar writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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