zip

package
v0.0.0-...-240b47d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UncompressZipFile

func UncompressZipFile(file string, destPath string) error

func UncompressZipFileBytes

func UncompressZipFileBytes(bytes []byte, destPath string) error

Types

type ZipContent

type ZipContent struct {
	Offset  int64
	Content []byte
	Length  int64
}

func (ZipContent) ReadAt

func (source ZipContent) ReadAt(p []byte, off int64) (n int, err error)

type ZipFileError

type ZipFileError struct {
	Message  string
	Filepath string
	Err      error
}

func (ZipFileError) Error

func (e ZipFileError) Error() string

Jump to

Keyboard shortcuts

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