ziputil

package
v4.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unzip

func Unzip(zipFilePath, destinationPath string) ([]string, error)

Unzip unzips a file in a given directory, returns the list of paths to files in the destination directory

func ZipPath

func ZipPath(path string) ([]byte, error)

ZipPath zips a file or directory and return the zipped content as a byte array.

path could be either relative or absolute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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