fileutils

package
v1.0.82 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MulanPSL-2.0 Imports: 6 Imported by: 39

Documentation

Index

Constants

View Source
const FILE_GOMOD = "go.mod"

Variables

This section is empty.

Functions

func CheckConfigFileExist

func CheckConfigFileExist(root, f string) bool

func CheckFileExist

func CheckFileExist(filename string) bool

func FindRootDir

func FindRootDir() string

func FindRootDirGoMod added in v1.0.60

func FindRootDirGoMod() string

func GetCurPath

func GetCurPath() string

func TryFileExist

func TryFileExist(filename string) bool

func UnZip

func UnZip(zipFile string, destPath string) error

func Zip

func Zip(srcPath string, destFile 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