pack

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tar

func Tar(root string, src []string, writer io.Writer, ignore ...string) error

Tar 文件压缩为tar

func TarX

func TarX(src, dst string) error

TarX 解压缩tar文件

func TarXByContent

func TarXByContent(content []byte, dst string) error

func TarXFromReader

func TarXFromReader(gr io.Reader, dst string) error

func Unzip

func Unzip(src, dst string) error

Unzip 解压缩zip文件

func UnzipByContent

func UnzipByContent(content []byte, dst string) error

func Zip

func Zip(root string, src []string, writer io.Writer, ignore ...string) error

Zip 文件压缩zip

Types

This section is empty.

Jump to

Keyboard shortcuts

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