Crate gix_pathspec
source ·Expand description
Parse path specifications and see if a path matches.
Re-exports
pub use gix_attributes as attributes;
Modules
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
.