tarfs

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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