ezip

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Zip压缩到io

func Zip压缩到io(压缩包路径 string, writer io.Writer, 路径前缀 ...string) error

Zip压缩到io 使用压缩算法将<压缩包路径>压缩到<writer>。 不必要的参数<路径前缀>表示zip文件的路径路径前缀。 注意,参数<压缩包路径>可以是目录或文件,其中 支持用“,”连接多个路径。

func Zip压缩到文件

func Zip压缩到文件(压缩包路径, 目标目录 string, 路径前缀 ...string) error

Zip压缩到文件 使用压缩算法将<压缩包路径>压缩到<目标目录>。 不必要的参数<路径前缀>表示zip文件的路径路径前缀。 注意,参数<压缩包路径>可以是目录或文件,其中 支持用“,”连接多个路径。

func Zip解压从数据

func Zip解压从数据(data []byte, 目标目录 string, 路径前缀 ...string) error

Zip解压从数据 使用压缩算法将<data>解压缩到<目标目录>。 参数<路径前缀>指定<压缩包路径>的解压缩路径, 它可用于指定要解压缩的存档文件的一部分。 注意,参数<目标目录>应该是一个目录。

func Zip解压从文件

func Zip解压从文件(压缩包路径, 目标目录 string, 路径前缀 ...string) error

Zip解压从文件 使用压缩算法将<压缩包路径>解压缩到<目标目录>。 参数<路径前缀>指定<压缩包路径>的解压缩路径, 它可用于指定要解压缩的存档文件的一部分。 注意,参数<目标目录>应该是一个目录。

Types

This section is empty.

Jump to

Keyboard shortcuts

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