#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

#57 in #indices

Download history 32/week @ 2024-11-13 40/week @ 2024-11-20 45/week @ 2024-11-27 104/week @ 2024-12-04 108/week @ 2024-12-11 47/week @ 2024-12-18 51/week @ 2024-12-25 32/week @ 2025-01-01 29/week @ 2025-01-08 53/week @ 2025-01-15 34/week @ 2025-01-22 57/week @ 2025-01-29 122/week @ 2025-02-05 158/week @ 2025-02-12 83/week @ 2025-02-19 159/week @ 2025-02-26

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

MIT/Apache

215KB
4K 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

~8–18MB
~249K SLoC