pub struct IgnoreCheck {
pub path: String,
pub ignored: bool,
pub matched: Option<IgnoreMatch>,
}Expand description
Result of checking one path against repository ignore rules.
Fields§
§path: StringRepository-relative path that was queried.
ignored: boolWhether the path is ignored (always false for tracked paths).
matched: Option<IgnoreMatch>Last matching pattern metadata, when Git would attribute one (check-ignore -v).
Trait Implementations§
Source§impl Clone for IgnoreCheck
impl Clone for IgnoreCheck
Source§impl Debug for IgnoreCheck
impl Debug for IgnoreCheck
impl Eq for IgnoreCheck
Source§impl PartialEq for IgnoreCheck
impl PartialEq for IgnoreCheck
impl StructuralPartialEq for IgnoreCheck
Auto Trait Implementations§
impl Freeze for IgnoreCheck
impl RefUnwindSafe for IgnoreCheck
impl Send for IgnoreCheck
impl Sync for IgnoreCheck
impl Unpin for IgnoreCheck
impl UnsafeUnpin for IgnoreCheck
impl UnwindSafe for IgnoreCheck
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