pub enum DirtyAlgorithm {
FileSystemMtimes,
GitDiff {
strategy: GitDiffStrategy,
commit: Option<Oid>,
},
}Expand description
The algorithm to use for the analysis.
Variants§
FileSystemMtimes
Use file system mtimes.
GitDiff
Use git diff, with the given strategy, and the base commit to diff with.
Fields
§
strategy: GitDiffStrategyThe diff strategy to use.
See GitDiffStrategy for more.
Trait Implementations§
Source§impl Clone for DirtyAlgorithm
impl Clone for DirtyAlgorithm
Source§fn clone(&self) -> DirtyAlgorithm
fn clone(&self) -> DirtyAlgorithm
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DirtyAlgorithm
impl RefUnwindSafe for DirtyAlgorithm
impl Send for DirtyAlgorithm
impl Sync for DirtyAlgorithm
impl Unpin for DirtyAlgorithm
impl UnwindSafe for DirtyAlgorithm
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