Documentation
¶
Index ¶
- func DiffFileContents(path1, path2 string) (bool, error)
- func DiffFolderContentsRecursive(target, target2 string) (result *string, err error)
- func FindFilePathsByExtension(dirPath string, fileExtensions []string) ([]string, error)
- func GetRelativePath(basePath, targetPath string) (string, error)
- func NormalizeToAbsolutePath(path string) (string, error)
- func ReadFirstLevelFolders(dirPath string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffFileContents ¶
func FindFilePathsByExtension ¶
FindFilePathsByExtension 查找指定路径下的所有指定后缀的文件路径
func GetRelativePath ¶
func NormalizeToAbsolutePath ¶
normalizeToAbsolutePath 自动检查并归一化路径为绝对路径
func ReadFirstLevelFolders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.