ziputil

package
v0.0.0-...-08b9edc Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteZipFromFiles

func WriteZipFromFiles(w io.Writer, files []string, compress bool) error

WriteZipFromFiles compresses `files` using zip and write the zip in a streaming way to the io Writer `w`. The files will be flattened in the zip file, i.e. `/a/b/c.txt` becomes `c.txt`. FIXME: This function does not handle with encrypted files on the disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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