Crate gix_attributes
source ·Expand description
Parse .gitattribute and .gitignore files and provide utilities to match against them.
Feature Flags
serde1— Data structures implementserde::Serializeandserde::Deserialize.
Re-exports
pub use gix_glob as glob;
Modules
Structs
- Name an attribute and describe it’s assigned state.
- Holds validated attribute data as a reference
- An implementation of the
Patterntrait for attributes. - An implementation of the
Patterntrait for ignore patterns. - Describes a matching value within a
MatchGroup. - A grouping of lists of patterns while possibly keeping associated to their base path.
- Represents a validated attribute name
- Holds a validated attribute name as a reference
- A list of patterns which optionally know where they were loaded from and what their base is.
- An association of a pattern with its value, along with a sequence number providing a sort order in relation to its peers.
Enums
- The state an attribute can be in, owning the value.
- The state an attribute can be in, referencing the value.
Traits
- A trait to convert bytes into patterns and their associated value.
Functions
- Parse attribute assignments line by line from
bytes.