Function gix::pathspec::parse

source ·
pub fn parse(input: &[u8], default: Defaults) -> Result<Pattern, Error>
Available on crate feature attributes only.
Expand description

Parse a git-style pathspec into a Pattern, setting the given default values in case these aren’t specified in input.

Note that empty paths are allowed here, and generally some processing has to be performed.