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

#1122 in Filesystem

Download history 146977/week @ 2025-03-16 120207/week @ 2025-03-23 288929/week @ 2025-03-30 347754/week @ 2025-04-06 230435/week @ 2025-04-13 179648/week @ 2025-04-20 179978/week @ 2025-04-27 222369/week @ 2025-05-04 209795/week @ 2025-05-11 207971/week @ 2025-05-18 199882/week @ 2025-05-25 195344/week @ 2025-06-01 191302/week @ 2025-06-08 178943/week @ 2025-06-15 218338/week @ 2025-06-22 155617/week @ 2025-06-29

761,065 downloads per month
Used in 125 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
~125K SLoC