zip

package
v0.0.0-...-963fb65 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Directory

func Directory(target, source string) error

Directory zips the specified directory into the target file. Note: source must be an absolute path. Also, this is untested with symlinks.

func UnZip

func UnZip(dest, src string) error

UnZip unzips the file specified in src into the 'dest' directory. Note: * The parent directory will be created using the mode of the first directory in the zip. * src could be partially populated if an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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