use-git-ignore
Primitive gitignore pattern vocabulary for RustUse.
use-git-ignore classifies gitignore-style lines as blank lines, comments, negated patterns, directory patterns, or ordinary patterns. It does not decide whether a filesystem path is ignored.
Basic usage
use ;
let rule = parse.expect;
assert_eq!;
assert!;
Scope
- Classify pattern text, comments, blank lines, negation, and directory markers.
- Keep filesystem walking and ignore matching out of scope.