Documentation
¶
Index ¶
- func CopyFile(dstName, srcName string) (written int64, err error)
- func FileInfo(file string) (os.FileInfo, error)
- func FileSize(file string) (int64, error)
- func GetCurrentExecutePath() (string, error)
- func GetExecuteFileName() (string, error)
- func GetFileList(root string) ([]string, error)
- func GetFileListWithFilter(root string, filter []string) ([]string, error)
- func PathExists(path string) (bool, error)
- func WriteFile(fileName string, Content string) error
- func WriteFileAppend(fileName string, Content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentExecutePath ¶
GetCurrentExecutePath 获取当时运行程序的目录 get current exe path
func GetExecuteFileName ¶
GetExecuteFileName 获取当时运行程序的名称 get exe file name
func GetFileList ¶ added in v0.0.10
GetFileList browse directory
func GetFileListWithFilter ¶ added in v0.0.10
GetFileListWithFilter browse directory
func PathExists ¶ added in v0.0.10
PathExists test path or file is exists
func WriteFileAppend ¶ added in v0.0.8
WriteFileAppend 写文件(追加写入内容到末尾)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.