zip

package
v1.113.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package zip provides simple zip extraction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(zr *zip.Reader, dst string) error

Extract the contents of a zip reader into the 'dst' directory.

func ExtractArchive

func ExtractArchive(src, dst string) error

ExtractArchive extracts the contents of a zip archive at 'src' into the 'dst' directory.

func ExtractArchiveWithMask added in v1.40.0

func ExtractArchiveWithMask(src, dst string, mask os.FileMode) error

ExtractArchiveWithMask extracts the contents of a zip archive at 'src' into the 'dst' directory.

func ExtractWithMask added in v1.40.0

func ExtractWithMask(zr *zip.Reader, dst string, mask os.FileMode) error

ExtractWithMask the contents of a zip reader into the 'dst' directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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