pub enum AnalysisSnapshot {
Current,
Base,
}Expand description
Which revision an analysis pass describes.
fallow audit --base <ref> analyzes the base revision in an isolated
worktree in addition to the working tree. Diagnostics raised while the base
pass runs must say which revision they came from, otherwise a base-only
condition reads as a defect in the current configuration (issue #2013).
Variants§
Current
The working tree, which is what every command analyzes by default.
Base
The base revision analyzed by audit --base.
Implementations§
Trait Implementations§
Source§impl Clone for AnalysisSnapshot
impl Clone for AnalysisSnapshot
impl Copy for AnalysisSnapshot
Source§impl Debug for AnalysisSnapshot
impl Debug for AnalysisSnapshot
Source§impl Default for AnalysisSnapshot
impl Default for AnalysisSnapshot
impl Eq for AnalysisSnapshot
Source§impl PartialEq for AnalysisSnapshot
impl PartialEq for AnalysisSnapshot
impl StructuralPartialEq for AnalysisSnapshot
Auto Trait Implementations§
impl Freeze for AnalysisSnapshot
impl RefUnwindSafe for AnalysisSnapshot
impl Send for AnalysisSnapshot
impl Sync for AnalysisSnapshot
impl Unpin for AnalysisSnapshot
impl UnsafeUnpin for AnalysisSnapshot
impl UnwindSafe for AnalysisSnapshot
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.