[][src]Crate yadf

A collection of functions and structs to find duplicate files.

Example :

Find, display, and report, all the duplicate files at the given path :

This example is not tested
let files_counter = yadf::find_dupes::<twox_hash::XxHash64>(".".as_ref(), None);
print!("{}", files_counter.display::<yadf::Fdupes>());
eprintln!("{}", yadf::Report::from(&files_counter));

Modules

fs

Inner parts of yadf. Initial file collection and checksumming.

Structs

DirEntry

Serialization wrapper for ignore::DirEntry

Fdupes

Display marker.

Machine

Display marker.

Report

Extract informations from a TreeBag of DirEntry, for the purpose of displaying it to a reader.

TreeBag

Counter structure.

Functions

find_dupes

This will attemps a complete scan of every file, within the given size constraints, at the given path.