#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

#43 in #indices

Download history 23/week @ 2023-12-14 35/week @ 2023-12-21 24/week @ 2023-12-28 17/week @ 2024-01-04 46/week @ 2024-01-11 12/week @ 2024-01-18 10/week @ 2024-01-25 27/week @ 2024-02-01 25/week @ 2024-02-08 17/week @ 2024-02-15 81/week @ 2024-02-22 86/week @ 2024-02-29 77/week @ 2024-03-07 98/week @ 2024-03-14 83/week @ 2024-03-21 55/week @ 2024-03-28

313 downloads per month
Used in 7 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–19MB
~232K SLoC