zip

package
v0.0.0-...-ebd5e3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateZipArchiveFile

func CreateZipArchiveFile(savaPath string, files []ZipFile, ignoreError bool) error

Types

type ZipFile

type ZipFile struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

func CreateZipArchive

func CreateZipArchive(write io.Writer, files []ZipFile, ignoreError bool) ([]ZipFile, error)

func CreateZipArchiveFileWithIgnored

func CreateZipArchiveFileWithIgnored(savaPath string, files []ZipFile, ignoreError bool) (ignoredFiles []ZipFile, err error)

CreateZipArchiveFileWithIgnored create a zip archive file from files, and return all ignored files

Jump to

Keyboard shortcuts

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