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

gix-pathspec

A crate of the gitoxide project dealing magical pathspecs

14 releases (6 breaking)

new 0.7.5 May 22, 2024
0.7.2 Mar 18, 2024
0.5.1 Dec 30, 2023
0.4.0 Oct 12, 2023

#214 in Filesystem

Download history 56897/week @ 2024-01-31 59993/week @ 2024-02-07 61592/week @ 2024-02-14 60933/week @ 2024-02-21 68600/week @ 2024-02-28 66214/week @ 2024-03-06 73979/week @ 2024-03-13 80839/week @ 2024-03-20 69716/week @ 2024-03-27 63871/week @ 2024-04-03 65964/week @ 2024-04-10 65299/week @ 2024-04-17 66394/week @ 2024-04-24 69209/week @ 2024-05-01 67809/week @ 2024-05-08 57821/week @ 2024-05-15

272,606 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