zipper

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

README

Zipper

Functions to work with compressed files.

Documentation

Index

Constants

View Source
const (
	ExtZip  = "zip"
	Ext7Zip = "7z" //TODO: Golang does not have a built-in library for this, as usual ...
)

Variables

This section is empty.

Functions

func CompressFileAsZip

func CompressFileAsZip(srcFilePath string, dstFolderPath string) (dstFilePath string, err error)

CompressFileAsZip creates a single-file archive of ZIP format and puts the specified file into it.

func UnpackZipFile

func UnpackZipFile(zipFilePath string, dstFolderPath string) (dstFilePath string, err error)

UnpackZipFile unpacks a single-file archive of ZIP format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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