Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DDupeCurrentDir ¶
DDupeCurrentDir wraps DDupe and passes in the current working directory. If you need to modify the directory scanned, use DDupe
Types ¶
type DupeScanResult ¶
type DupeScanResult struct { FilesScanned int DupePaths []string // list of files that are duplicates }
func ScanForDupes ¶
func ScanForDupes(fsys afero.Fs, dirPrefix string) (DupeScanResult, error)
ScanForDupes scans a folder recursively for duplicate files and returns a dupeScanResult containing all the duplicates found. The first file found is treated as the original and not included in the result
Click to show internal directories.
Click to hide internal directories.