package
0.5.49
Repository: https://github.com/pubgo/funk.git
Documentation: pkg.go.dev

# Functions

BuildDir 创建目录.
CheckFileIsExist 检查目录是否存在.
CheckPermission check if the file has permission.
CopyDir copies the source directory to the dest directory.
CopyFile copies the source file to the dest file.
DeleteFile 删除文件或文件夹.
No description provided by the author
Exist checks whether a file or directory exists.
GetCurrentDirectory 获取程序运行路径.
GetModelPath 获取目录地址.
GetPathDirs 获取目录所有文件夹.
GetPathFiles 获取目录所有文件.
No description provided by the author
GrepFile like command grep -E for example: GrepFile(`^hello`, "hello.txt") \n is striped while read.
IsDir determines whether the specified path is a directory.
IsExist determines whether the file spcified by the given path is exists.
IsNotExist check if the file exists.
IsNotExistMkDir create a directory if it does not exist.
List list file.
ListDir list dir.
MkDir create a directory.
PathExists path is exist.
Search Search a file in paths.