archive

package
v0.0.0-...-2083224 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(str string) string

Compress compress string

func Decompress

func Decompress(comp string) string

Decompress decompress string

func TarGz

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

TarGz tar.gz dir2file

func UnTarGz

func UnTarGz(srcFilePath string, destDirPath string)

UnTarGz 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)

Unzip nnzip 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)

Zip zip dir2file

Types

This section is empty.

Jump to

Keyboard shortcuts

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