tarfs

package
v0.13.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Untar

func Untar(path string, r io.Reader) error

Untar unarchives and uncompresses a gzipped archive into a path.

func Write

func Write(writer io.Writer, dir fs.FS) error

Write writes the filesystem (dir) into a gzipped tar archive in the writer provided.

func WriteFile

func WriteFile(name string, dir fs.FS) (*os.File, error)

WriteFile writes the filesystem (dir) into a gzipped tar archive at the name provided. This function closes the File.

Types

This section is empty.

Jump to

Keyboard shortcuts

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