Versions in this module Expand all Collapse all v0 v0.2.1 Aug 12, 2020 v0.1.0 Jul 7, 2020 Changes in this version + const MD5 + const SHA256 + const XXHash + func CleanPath(path string) string + func CollectHashes(files []FileInfo, singleThread bool, minSize int, algorithm string, flat bool) map[string][]FileInfo + func GetAlgorithm(al string) string + func GetDuplicates(hashes map[string][]FileInfo) ([][]FileInfo, int, int) + func GetFileHash(path, algorithm string) (string, error) + func RemoveDuplicates(fileSets [][]FileInfo) (int, int, error) + type FileInfo struct + Info os.FileInfo + Path string + func GetFiles(root string, full bool) ([]FileInfo, error)