[−][src]Crate yadf
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; |
Structs
Duplicates | A view which only provides access to duplicate entries |
Fdupes | Display marker. |
Machine | Display marker. |
TreeBag | Counter structure. |
Yadf | Search configuration |
YadfBuilder | Builder for |
Traits
Hasher | Meta trait for the Hasher and Default traits |