#git #gix #fuzzing #parse #path #gix-thiscrate #match

deprecated git-pathspec

Please use gix-<thiscrate> instead (‘git’ -> ‘gix’)

2 unstable releases

0.1.0 Feb 17, 2023
0.0.0 Mar 17, 2022

#16 in #gix-thiscrate

MIT/Apache

95KB
1.5K SLoC

git-pathspec

Testing

Fuzzing

cargo fuzz is used for fuzzing, installable with cargo install cargo-fuzz.

Targets can be listed with cargo fuzz list and executed via cargo +nightly fuzz run <target>, where <target> can be parse for example.

Notes

  • There is one additional keyword that git can parse, but that this crate doesn't support yet: the prefix keyword

    Here is a commit in which prefix is somewhat explained.


lib.rs:

Parse path specifications and see if a path matches.

Dependencies

~3–4.5MB
~69K SLoC