Documentation
¶
Index ¶
- func CleanPathContent(dirPath string)
- func CopyPath(srcPath, dstPath string) error
- func Exist(path string) bool
- func IsDir(path string) bool
- func IsDirEmpty(dirPath string) (bool, error)
- func ListPath(filePath string, filterPattern string, recursive bool) ([]string, error)
- func SplitParentDir(dirPath string) string
- func WalkPath(filePath string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanPathContent ¶ added in v1.4.0
func CleanPathContent(dirPath string)
func CopyPath ¶ added in v1.4.0
CopyPath 深度复制目录结构及内容 特性: - 保留文件权限和修改时间 - 并行文件复制(最大4并发) - 自动创建目标目录 - 完善的错误处理链
func IsDirEmpty ¶ added in v1.3.65
IsDirEmpty 判断目录是否为空
func SplitParentDir ¶ added in v1.3.67
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.