#git-repository #version-control #directory #check #detection #discover

gix-discover

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

32 releases (breaking)

new 0.37.0 Nov 24, 2024
0.35.0 Aug 22, 2024
0.33.0 Jul 23, 2024
0.31.0 Mar 14, 2024
0.16.2 Mar 30, 2023

#1060 in Development tools

Download history 94204/week @ 2024-08-04 93250/week @ 2024-08-11 91657/week @ 2024-08-18 91341/week @ 2024-08-25 99996/week @ 2024-09-01 105670/week @ 2024-09-08 94870/week @ 2024-09-15 97110/week @ 2024-09-22 100799/week @ 2024-09-29 98213/week @ 2024-10-06 109740/week @ 2024-10-13 105651/week @ 2024-10-20 101800/week @ 2024-10-27 106088/week @ 2024-11-03 112419/week @ 2024-11-10 104230/week @ 2024-11-17

434,195 downloads per month
Used in 206 crates (10 directly)

MIT/Apache

430KB
8K 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

~10–19MB
~285K SLoC