#index #git #file #find #state #own #indices

deprecated git-index

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

22 releases (12 breaking)

0.12.4 Feb 17, 2023
0.12.2 Jan 10, 2023
0.11.0 Dec 30, 2022
0.9.1 Nov 27, 2022
0.0.0 Aug 28, 2020

#50 in #indices

Download history 31/week @ 2024-03-23 256/week @ 2024-03-30 104/week @ 2024-04-06 48/week @ 2024-04-13 84/week @ 2024-04-20 197/week @ 2024-04-27 63/week @ 2024-05-04 23/week @ 2024-05-11 28/week @ 2024-05-18 35/week @ 2024-05-25 62/week @ 2024-06-01 55/week @ 2024-06-08 47/week @ 2024-06-15 58/week @ 2024-06-22 28/week @ 2024-06-29 65/week @ 2024-07-06

208 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

390KB
8K SLoC

Test fixtures

Most of the test indices are snatched directly from the unit test suite of git itself, usually by running something like the following

 ./t1700-split-index.sh -r 2 --debug 

Then one finds all test state and the index in particular in trash directory/t1700-split-index/.git/index and can possibly copy it over and use as fixture. The preferred way is to find a test of interest, and use its setup code within one of our own fixture scripts that are executed once to generate the file of interest.


lib.rs:

Feature Flags

Dependencies

~7–17MB
~226K SLoC