Struct git_attributes::Ignore
source · pub struct Ignore;
Expand description
An implementation of the Pattern
trait for ignore patterns.
Trait Implementations§
source§impl Ord for Ignore
impl Ord for Ignore
source§impl PartialEq<Ignore> for Ignore
impl PartialEq<Ignore> for Ignore
source§impl PartialOrd<Ignore> for Ignore
impl PartialOrd<Ignore> for Ignore
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Pattern for Ignore
impl Pattern for Ignore
source§fn bytes_to_patterns(bytes: &[u8]) -> Vec<PatternMapping<Self::Value>> ⓘ
fn bytes_to_patterns(bytes: &[u8]) -> Vec<PatternMapping<Self::Value>> ⓘ
Parse all patterns in
bytes
line by line, ignoring lines with errors, and collect them.source§fn may_use_glob_pattern(_pattern: &Pattern) -> bool
fn may_use_glob_pattern(_pattern: &Pattern) -> bool
Returns true if the given pattern may be used for matching.