#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

#41 in #indices

Download history 41/week @ 2024-01-08 28/week @ 2024-01-15 7/week @ 2024-01-22 15/week @ 2024-01-29 40/week @ 2024-02-05 9/week @ 2024-02-12 31/week @ 2024-02-19 129/week @ 2024-02-26 45/week @ 2024-03-04 111/week @ 2024-03-11 71/week @ 2024-03-18 23/week @ 2024-03-25 323/week @ 2024-04-01 48/week @ 2024-04-08 40/week @ 2024-04-15 111/week @ 2024-04-22

524 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–17MB
~224K SLoC