#git-repository #directory #gix #find #presence #search #upwards

deprecated git-discover

Please use gix-<thiscrate> instead (‘git’ -> ‘gix’)

21 releases (13 breaking)

0.13.1 Feb 17, 2023
0.12.1 Jan 10, 2023
0.11.0 Dec 30, 2022
0.9.0 Nov 21, 2022
0.3.0 Jul 22, 2022

#12 in #presence

Download history 67/week @ 2024-07-20 98/week @ 2024-07-27 73/week @ 2024-08-03 24/week @ 2024-08-10 19/week @ 2024-08-17 17/week @ 2024-08-24 66/week @ 2024-08-31 40/week @ 2024-09-07 17/week @ 2024-09-14 121/week @ 2024-09-21 49/week @ 2024-09-28 84/week @ 2024-10-05 110/week @ 2024-10-12 54/week @ 2024-10-19 128/week @ 2024-10-26 69/week @ 2024-11-02

373 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

320KB
6.5K SLoC

Find git repositories or search them upwards from a starting point, or determine if a directory looks like a git repository.

Note that detection methods are educated guesses using the presence of files, without looking too much into the details.

Dependencies

~7–35MB
~543K SLoC