compression

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractArchive

func ExtractArchive(archiveFilePath string, destinationDir string) error

ExtractArchive extracts an archive file (zip or tar.gz) to the specified destination directory.

func ExtractTarGz

func ExtractTarGz(src, dest string) error

ExtractTarGz extracts a tar.gz archive to the specified destination directory

func ExtractZip

func ExtractZip(src, dest string) error

ExtractZip extracts a zip archive to the specified destination directory

func IsArchiveFileExtension

func IsArchiveFileExtension(name string) bool

IsArchiveFileExtension checks if the given file name has an archive file extension.

Types

This section is empty.

Jump to

Keyboard shortcuts

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