archive

package
v0.0.0-...-40ed68a Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(src string, dest string, skipPaths ...string) error

Create creates a new zip archive from src dir content and saves it in dest path.

You can specify skipPaths to skip/ignore certain directories and files (relative to src) preventing adding them in the final archive.

func Extract

func Extract(src, dest string) error

Extract extracts the zip archive at src to dest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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