files

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HomeKey = "$HOME"
)

Variables

This section is empty.

Functions

func Abs

func Abs(base, path string) (abs string)

func GetAllFile

func GetAllFile(dirPath string, dirPrefix string) []string

func IsExists

func IsExists(path string) bool

func IsNotExists

func IsNotExists(path string) bool

func Tail

func Tail(ctx context.Context, file string, poll bool, dest *os.File)

func Unzip

func Unzip(zipFile, dest string) error

解压

func Zip

func Zip(srcDir, dstPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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