Documentation
¶
Overview ¶
Package finder implements the core duplicate detection logic for the doppel file finder.
This package provides the main algorithm for finding duplicate files using a two-stage hashing approach:
- Quick hash: Fast partial XXH3 hashing to eliminate most non-duplicates
- Full hash: Complete Blake3 hashing for final duplicate confirmation
The package processes files in parallel using configurable worker goroutines and maintains statistics about the duplicate detection process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDuplicatesByHash ¶
func FindDuplicatesByHash(ctx context.Context, sizeGroups map[int64][]scanner.FileInfo, numWorkers int, stats *model.Stats, verbose bool) (*model.DuplicateReport, error, )
FindDuplicatesByHash processes files with same sizes and returns a model.DuplicateReport directly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.