21 releases (10 breaking)

0.11.0 Apr 26, 2025
0.9.0 Jan 18, 2025
0.8.1 Nov 24, 2024
0.7.6 Jul 23, 2024
0.4.0 Oct 12, 2023

#284 in Testing

Download history 118151/week @ 2025-01-29 124394/week @ 2025-02-05 132578/week @ 2025-02-12 135671/week @ 2025-02-19 133903/week @ 2025-02-26 145055/week @ 2025-03-05 174383/week @ 2025-03-12 124425/week @ 2025-03-19 155550/week @ 2025-03-26 361262/week @ 2025-04-02 319112/week @ 2025-04-09 169724/week @ 2025-04-16 182675/week @ 2025-04-23 194089/week @ 2025-04-30 221049/week @ 2025-05-07 211231/week @ 2025-05-14

842,269 downloads per month
Used in 117 crates (5 directly)

MIT/Apache

265KB
4.5K SLoC

Parse path specifications and see if a path matches.


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.

Dependencies

~3–11MB
~126K SLoC