file

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPathExists

func CheckPathExists(path string) (bool, error)

CheckPathExists check if file exists.

func CheckYamlReadable

func CheckYamlReadable(addr *string) (bool, error)

CheckYamlReadable check if file is readable;

func CreateDir added in v0.2.2

func CreateDir(filePath string) error

调⽤os.MkdirAll递归创建⽂件夹

func CreateDirOnPwd added in v0.2.2

func CreateDirOnPwd()

func CreateFile added in v0.2.2

func CreateFile(filepath string) error

func GetCwd added in v0.2.2

func GetCwd() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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