#git #path #version-control #dealing #parse #specification #pathspecs

gix-pathspec

A crate of the gitoxide project dealing magical pathspecs

13 releases (6 breaking)

0.7.4 Apr 18, 2024
0.7.2 Mar 18, 2024
0.5.1 Dec 30, 2023
0.4.0 Oct 12, 2023

#250 in Filesystem

Download history 49594/week @ 2024-01-25 57395/week @ 2024-02-01 59862/week @ 2024-02-08 61931/week @ 2024-02-15 62453/week @ 2024-02-22 69238/week @ 2024-02-29 65564/week @ 2024-03-07 75674/week @ 2024-03-14 79027/week @ 2024-03-21 70155/week @ 2024-03-28 62789/week @ 2024-04-04 65894/week @ 2024-04-11 65271/week @ 2024-04-18 65306/week @ 2024-04-25 70690/week @ 2024-05-02 57105/week @ 2024-05-09

268,939 downloads per month
Used in 12 crates (4 directly)

MIT/Apache

210KB
4K 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–12MB
~145K SLoC