18 releases

0.8.1 Nov 24, 2024
0.7.7 Aug 22, 2024
0.7.6 Jul 23, 2024
0.7.2 Mar 18, 2024
0.4.0 Oct 12, 2023

#590 in Filesystem

Download history 72713/week @ 2024-08-20 68075/week @ 2024-08-27 82212/week @ 2024-09-03 81092/week @ 2024-09-10 72145/week @ 2024-09-17 74552/week @ 2024-09-24 78782/week @ 2024-10-01 78608/week @ 2024-10-08 81217/week @ 2024-10-15 76581/week @ 2024-10-22 78475/week @ 2024-10-29 83455/week @ 2024-11-05 85755/week @ 2024-11-12 100509/week @ 2024-11-19 101337/week @ 2024-11-26 112748/week @ 2024-12-03

416,252 downloads per month
Used in 60 crates (4 directly)

MIT/Apache

250KB
4.5K SLoC

gix-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–11MB
~133K SLoC