ziptil

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unzip

func Unzip(zipFile, dest string) (err error)

解压zip文件 @param zipFile 需要解压的zip文件 @param dest 需要解压到的目录 @return err 返回错误

func Zip

func Zip(dest string, filepath ...string) (err error)

压缩指定文件或文件夹 @param dest 压缩后的zip文件目标,如/usr/local/hello.zip @param filepath 需要压缩的文件或者文件夹 @return err 错误。如果返回错误,则会删除dest文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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