17 unstable releases (7 breaking)

0.8.0 Oct 22, 2024
0.7.6 Jul 23, 2024
0.7.2 Mar 18, 2024
0.5.1 Dec 30, 2023
0.4.0 Oct 12, 2023

#443 in Filesystem

Download history 76283/week @ 2024-07-29 73275/week @ 2024-08-05 73472/week @ 2024-08-12 73496/week @ 2024-08-19 69960/week @ 2024-08-26 78128/week @ 2024-09-02 82728/week @ 2024-09-09 72172/week @ 2024-09-16 74245/week @ 2024-09-23 78343/week @ 2024-09-30 78166/week @ 2024-10-07 80831/week @ 2024-10-14 77522/week @ 2024-10-21 77862/week @ 2024-10-28 81907/week @ 2024-11-04 87755/week @ 2024-11-11

331,733 downloads per month
Used in 54 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
~131K SLoC