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

gix-pathspec

A crate of the gitoxide project dealing magical pathspecs

16 unstable releases (6 breaking)

0.7.7 Aug 22, 2024
0.7.6 Jul 23, 2024
0.7.5 May 22, 2024
0.7.2 Mar 18, 2024
0.4.0 Oct 12, 2023

#537 in Filesystem

Download history 63820/week @ 2024-05-30 65204/week @ 2024-06-06 72181/week @ 2024-06-13 66969/week @ 2024-06-20 65181/week @ 2024-06-27 65756/week @ 2024-07-04 70064/week @ 2024-07-11 68693/week @ 2024-07-18 76299/week @ 2024-07-25 73156/week @ 2024-08-01 74435/week @ 2024-08-08 72896/week @ 2024-08-15 72147/week @ 2024-08-22 69696/week @ 2024-08-29 88431/week @ 2024-09-05 76699/week @ 2024-09-12

318,962 downloads per month
Used in 41 crates (4 directly)

MIT/Apache

240KB
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