fs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(srcDir string, out io.Writer, t CompressionType) error

func Copy

func Copy(dst string, src string) error

func Decompress

func Decompress(src io.Reader, outDir string, t CompressionType) error

Types

type CompressionType

type CompressionType int
const (
	TarGz CompressionType = iota
	Zip
)

func (CompressionType) String

func (c CompressionType) String() string

Jump to

Keyboard shortcuts

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