archive

package
Version: v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: GPL-2.0, GPL-2.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(dstName, srcName string) (written int64, err error)

Copyfile

func TarGz

func TarGz(srcDirPath string, destFilePath string) (ok bool)

func UnTarGz

func UnTarGz(srcFilePath string, destDirPath string)

Ungzip and untar from source file to destination directory you need check file exist before you call this function

func Unzip

func Unzip(srcFilePath string, destDirPath string) (ok bool, msg string)

Ungzip and untar from source file to destination directory you need check file exist before you call this function

func Zip

func Zip(srcDirPath string, destFilePath string) (ok bool)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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