Skip to main content

main

Function main 

Source
pub(crate) fn main()
Expand description

Scans one or more directories for duplicate files and prints groups sorted by total disk space used (size × occurrence count).

Each group lists the human-readable total size, the SHA-256 hash, and every path sharing that hash.

§Errors

Exits with a non-zero status if fewer than one directory argument is provided. Individual file-hashing errors are printed to stderr and do not halt the scan.