Crate gix::pathspec::attributes
source · Available on crate feature
attributes
only.Expand description
Parse .gitattribute
files and provide utilities to match against them.
Feature Flags
Modules
- Provide glob
Patterns
for matching against paths or anything else.
Structs
- Name an attribute and describe it’s assigned state.
- Holds validated attribute data as a reference
- Represents a validated attribute name
- Holds a validated attribute name as a reference
- A grouping of lists of patterns while possibly keeping associated to their base path in order to find matches.
Enums
- A list of known global sources for git attribute files in order of ascending precedence.
- The state an attribute can be in, owning the value.
- The state an attribute can be in, referencing the value.
Functions
- Parse attribute assignments line by line from
bytes
, and fail the operation on error.