#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 64/week @ 2024-07-19 123/week @ 2024-07-26 75/week @ 2024-08-02 56/week @ 2024-08-09 22/week @ 2024-08-16 23/week @ 2024-08-23 75/week @ 2024-08-30 51/week @ 2024-09-06 29/week @ 2024-09-13 96/week @ 2024-09-20 58/week @ 2024-09-27 90/week @ 2024-10-04 123/week @ 2024-10-11 78/week @ 2024-10-18 127/week @ 2024-10-25 53/week @ 2024-11-01

397 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
~228K SLoC