zip

package
v0.0.0-...-d691e2b Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnzipError = errors.New("unzip cross border")
)

Functions

func GetUnzipFileNum

func GetUnzipFileNum(b []byte, length int64) (int, error)

func StreamSingleUnzip

func StreamSingleUnzip(b []byte, fileName string) ([]byte, error)

StreamSingleUnzip

func StreamSingleZip

func StreamSingleZip(sourceName string, data []byte) ([]byte, error)

StreamSingleZip

func Unzip

func Unzip(archive, target string) error

func UnzipFromBytes

func UnzipFromBytes(targetDir string, b []byte, length int64) error

func UpdateZipCode

func UpdateZipCode(b []byte, files []*map[string]string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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