compression

package
v0.0.0-...-e3a6915 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZipUtils

type ZipUtils struct {
	// contains filtered or unexported fields
}

func (ZipUtils) Compress

func (z ZipUtils) Compress(files []*os.File, dest string) (bool, error)

Compress 压缩文件 files 文件数组 可以是多目录文件 dest 压缩文件存放地址

func (ZipUtils) DeCompress

func (ZipUtils) DeCompress(zipFile, dest string) (bool, error)

DeCompress 解压

Jump to

Keyboard shortcuts

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