Compress

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = string(filepath.Separator)

Variables

This section is empty.

Functions

func TarDirToByteBuffer

func TarDirToByteBuffer(rpath string, compress string) (*bytebufferpool.ByteBuffer, error)

TarDirToByteBuffer tar归档目录,并写入到ByteBuffer中

func TarDirToFile added in v0.0.7

func TarDirToFile(rpath string, compress string, topath string) error

TarDirToFile tar归档目录,并写入到topath中

Types

This section is empty.

Jump to

Keyboard shortcuts

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