file_dir

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(dir string) error

func CreateFile

func CreateFile(file string) (bool, error)

func EsimBackUpFile

func EsimBackUpFile(backFile string) error

BackUpFile backup files to os.Getenv("GOPATH") + "/pkg/esim/" backFile is Absolute path Overwrite as soon as the file exists

func EsimWrite added in v0.0.2

func EsimWrite(filePath string, content string) error

func GetCurrentDir

func GetCurrentDir() string

func GetParDir

func GetParDir() string

func IsEmptyDir

func IsEmptyDir(dir string) (bool, error)

func IsExistsDir

func IsExistsDir(dir string) (bool, error)

func IsExistsFile

func IsExistsFile(file string) (bool, error)

func RemoveDir added in v0.0.2

func RemoveDir(dir 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