pub enum FilterAttribute {
Ours,
Foreign(String),
Set,
Unset,
Unspecified,
}Expand description
What git resolves the filter attribute to for one path.
The spelling of each variant is git check-attr filter’s own, so a report can
quote the answer a user would get from git and the two cannot drift.
Variants§
Ours
filter=git-xcrypt — git runs this tool for the path.
Foreign(String)
filter=<something else>, filter=lfs being the ordinary case.
Set
filter with no value. Git has no driver to run.
Unset
-filter. Explicitly off.
Unspecified
No line reaches this path at all.
Implementations§
Trait Implementations§
Source§impl Clone for FilterAttribute
impl Clone for FilterAttribute
Source§fn clone(&self) -> FilterAttribute
fn clone(&self) -> FilterAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FilterAttribute
impl Debug for FilterAttribute
Source§impl Display for FilterAttribute
impl Display for FilterAttribute
impl Eq for FilterAttribute
Source§impl PartialEq for FilterAttribute
impl PartialEq for FilterAttribute
impl StructuralPartialEq for FilterAttribute
Auto Trait Implementations§
impl Freeze for FilterAttribute
impl RefUnwindSafe for FilterAttribute
impl Send for FilterAttribute
impl Sync for FilterAttribute
impl Unpin for FilterAttribute
impl UnsafeUnpin for FilterAttribute
impl UnwindSafe for FilterAttribute
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