Documentation ¶
Index ¶
- func CopyFile(src, dst string) (written int64, err error)
- func CopyFolderFiles(src, dst string) (err error)
- func Exist(src string) (b bool)
- func IsDir(path string) (b bool)
- func ListExtensions(folder_path string) (extensions []string, err error)
- func ListFiles(folder_path string, suffix string) (files []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFolderFiles ¶ added in v0.4.0
复制目录 (单层COPY)
params: src: 源路径 dst: 目标路径 returns: count: 复制文件数量 err: 错误信息
func ListExtensions ¶ added in v0.2.0
列目录下的扩展名
params: folder_path: 文件夹 returns: extensions: 扩展名数组 err: error message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.