[][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 :

let hasher: std::marker::PhantomData<yadf::XxHasher> = Default::default();
let paths = ["."];
let files_counter = yadf::find_dupes(hasher, &paths, None, None);
println!("{}", files_counter.display::<yadf::Fdupes>());
eprintln!("{}", yadf::Report::from(&files_counter));

Modules

fs

Inner parts of yadf. Initial file collection and checksumming.

Macros

newtype_impl_hasher
newtype_impl_hasher_and_write
newtype_impl_write

Structs

DirEntry

Serialization wrapper for ignore::DirEntry

Fdupes

Display marker.

HighwayHasher
Machine

Display marker.

Report

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

SeaHasher
TreeBag

Counter structure.

XxHasher

Functions

find_dupes

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