pub struct DupeOptions {
pub root_paths: Vec<PathBuf>,
pub min_size: Option<u64>,
pub min_group_size: Option<usize>,
}Expand description
Options for duplicate file detection.
Fields§
§root_paths: Vec<PathBuf>Root directories to scan.
min_size: Option<u64>Minimum file size in bytes (files smaller are skipped). Default: 1.
min_group_size: Option<usize>Minimum number of files to form a duplicate group. Default: 2.
Trait Implementations§
Source§impl Clone for DupeOptions
impl Clone for DupeOptions
Source§fn clone(&self) -> DupeOptions
fn clone(&self) -> DupeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DupeOptions
impl Debug for DupeOptions
Source§impl Default for DupeOptions
impl Default for DupeOptions
Source§fn default() -> DupeOptions
fn default() -> DupeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DupeOptions
impl RefUnwindSafe for DupeOptions
impl Send for DupeOptions
impl Sync for DupeOptions
impl Unpin for DupeOptions
impl UnsafeUnpin for DupeOptions
impl UnwindSafe for DupeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more