pub enum Reason {
Bookkeeping,
Claimed,
Declared,
Hidden,
Unreached,
}Expand description
Why a path is on the list.
Variants§
Bookkeeping
prov’s own bookkeeping: a byte-parking store’s interior, or a page prov derives rather than the author writing. Excluded by decision.
Claimed
An archive a manifest document claims in bulk. Its rows are pinned by hash in a document the graph does reach, so the directory is one fact.
Declared
The workspace itself says the directory is not its content
(out_of_scope) —
another tool’s store, a sync cache, a vendored checkout. The one reason
prov did not work out for itself, and the only one that is a statement
rather than an observation: nothing about the directory’s contents
could have produced it.
Hidden
A hidden entry — an editor’s or a tool’s, not the workspace’s content.
A hidden directory is ruled without being walked, so a .git holding
ten thousand objects costs one listing, not ten thousand.
Unreached
Nothing the workspace links reaches it. The one reason worth acting on from the other side: link the file, and the next list withdraws the rule.
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
Source§impl Ord for Reason
impl Ord for Reason
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Reason
impl PartialOrd for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key and return true if they are equal.