Versions in this module Expand all Collapse all v1 v1.0.9 May 27, 2020 v1.0.8 Jun 17, 2019 Changes in this version + const JsonFormat + const SortByCount + const SortBySize + const SortByTotalSize + const TextFormat + func ByteCountBinary(b int64) string + func ByteCountDecimal(b int64) string + func InitLogger(verbose bool) + type ByCount struct + func (s ByCount) Less(i, j int) bool + type BySize struct + func (s BySize) Less(i, j int) bool + type ByTotalSize struct + func (s ByTotalSize) Less(i, j int) bool + type DuplicateFileFinder struct + Option *Option + func NewDuplicateFileFinder(option *Option) *DuplicateFileFinder + func (d *DuplicateFileFinder) Display(list []*UniqFile) + func (d *DuplicateFileFinder) Find() ([]*UniqFile, int, error) + type DuplicateFileMap map[[32]byte]*UniqFile + type FileDetail struct + type FileMap map[string]*FileDetail + type FileMapBySize map[int64][]*FileDetail + type FileMapDetail struct + func NewFileMapDetail(dir string) *FileMapDetail + type Option struct + Dirs []string + Format string + MinFileSize int64 + MinNumOfFilesInFileGroup int + SortBy string + type UniqFile struct + Count int + List []string + Size int64 + TotalSize int64 + func NewDuplicateFiles(size int64) *UniqFile + type UniqFiles []*UniqFile + func (s UniqFiles) Len() int + func (s UniqFiles) Swap(i, j int)