gz

package
v0.0.0-...-c8f2cb1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFileInGzip

func ReadFileInGzip(srcFile, FileInBall string) ([]byte, error)

ReadFileInGzip @brief 直接读取tar.gz压缩包里面的某个目标文件而无需解压到本地 @param srcFile 压缩包的路径 @param FileInBall 文件在压缩包内的相对路径,非精确匹配,不能使用filepath.Join处理,否则无法适配windows系统

Types

This section is empty.

Jump to

Keyboard shortcuts

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