#index-file #version-control #git #gitoxide #state #dedicated #git-index

gix-index

A work-in-progress crate of the gitoxide project dedicated implementing the git index file

37 releases (breaking)

0.37.0 Nov 24, 2024
0.35.0 Aug 22, 2024
0.33.1 Jul 23, 2024
0.31.1 Mar 18, 2024
0.15.1 Mar 30, 2023

#281 in Filesystem

Download history 87857/week @ 2024-08-17 89055/week @ 2024-08-24 94701/week @ 2024-08-31 101765/week @ 2024-09-07 92639/week @ 2024-09-14 94452/week @ 2024-09-21 95924/week @ 2024-09-28 96491/week @ 2024-10-05 105600/week @ 2024-10-12 103544/week @ 2024-10-19 99202/week @ 2024-10-26 103516/week @ 2024-11-02 111123/week @ 2024-11-09 112086/week @ 2024-11-16 122638/week @ 2024-11-23 137146/week @ 2024-11-30

501,865 downloads per month
Used in 106 crates (7 directly)

MIT/Apache

630KB
12K 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

~10–21MB
~293K SLoC