#git #version-control #path #fuzzing #parser #gitoxide #pathspecs

gix-pathspec

A crate of the gitoxide project dealing magical pathspecs

18 releases

new 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

#453 in Filesystem

Download history 73127/week @ 2024-08-04 72762/week @ 2024-08-11 72804/week @ 2024-08-18 70813/week @ 2024-08-25 78096/week @ 2024-09-01 82674/week @ 2024-09-08 72850/week @ 2024-09-15 74594/week @ 2024-09-22 78227/week @ 2024-09-29 77004/week @ 2024-10-06 81523/week @ 2024-10-13 77881/week @ 2024-10-20 77420/week @ 2024-10-27 81420/week @ 2024-11-03 87315/week @ 2024-11-10 85066/week @ 2024-11-17

338,289 downloads per month
Used in 55 crates (4 directly)

MIT/Apache

255KB
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
~129K SLoC