Available on crate feature
attributes
only.Expand description
Pathspec plumbing and abstractions
Modules
- Parse
.gitattribute
files and provide utilities to match against them.
Structs
- Default settings for some fields of a
Pattern
. - Flags to represent ‘magic signatures’ which are parsed behind colons, like
:top:
. - The output of a pathspec parsing operation. It can be used to match against a one or more paths.
- A lists of pathspec patterns, possibly from a file.
Enums
- Parts of magic signatures which don’t stack as they all configure the way path specs are matched.
Functions
- Parse a git-style pathspec into a
Pattern
, setting the givendefault
values in case these aren’t specified ininput
.