Crate yadf[][src]

This a binary crate. You can use it as a library, but I wouldn't recommend it.

A collection of functions and structs to find duplicate files.

Example :

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

let counter = yadf::Yadf::builder()
    .paths(&["path/to/somewhere", "another/path"]) // required
    .minimum_file_size(64) // optional
    .maximum_file_size(1024 * 8) // optional
    .regex(None) // optional
    .glob(None) // optional
    .build()
    .scan::<highway::HighwayHasher>();
println!("{}", counter.duplicates().display::<yadf::Fdupes>());

Re-exports

pub use globset;
pub use regex;

Modules

path

Structs

Fdupes

Display marker.

Machine

Display marker.

Replicates

A view which only provides access to n replicated entries

TreeBag

Counter structure.

Yadf

Search configuration

YadfBuilder

Builder for Yadf instances.

Enums

Factor

Type Definitions

FileCounter
FileReplicates