#git-repository #directory #version-control #check #discover #find #presence

gix-discover

Discover git repositories and check if a directory is a git repository

26 releases (breaking)

0.31.0 Mar 14, 2024
0.29.0 Jan 20, 2024
0.28.1 Dec 30, 2023
0.26.0 Oct 12, 2023
0.16.2 Mar 30, 2023

#1045 in Development tools

Download history 70658/week @ 2024-01-25 79305/week @ 2024-02-01 80317/week @ 2024-02-08 81127/week @ 2024-02-15 82403/week @ 2024-02-22 89357/week @ 2024-02-29 83198/week @ 2024-03-07 94336/week @ 2024-03-14 98939/week @ 2024-03-21 90332/week @ 2024-03-28 85274/week @ 2024-04-04 87846/week @ 2024-04-11 86931/week @ 2024-04-18 87880/week @ 2024-04-25 92591/week @ 2024-05-02 77681/week @ 2024-05-09

359,227 downloads per month
Used in 157 crates (8 directly)

MIT/Apache

385KB
7.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–17MB
~257K SLoC