#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

36 releases (breaking)

0.36.0 Oct 22, 2024
0.34.0 Aug 22, 2024
0.33.1 Jul 23, 2024
0.31.1 Mar 18, 2024
0.15.1 Mar 30, 2023

#122 in Filesystem

Download history 91730/week @ 2024-07-18 101177/week @ 2024-07-25 92320/week @ 2024-08-01 93439/week @ 2024-08-08 88338/week @ 2024-08-15 88257/week @ 2024-08-22 87487/week @ 2024-08-29 107339/week @ 2024-09-05 95799/week @ 2024-09-12 89874/week @ 2024-09-19 96402/week @ 2024-09-26 95964/week @ 2024-10-03 101382/week @ 2024-10-10 106949/week @ 2024-10-17 100838/week @ 2024-10-24 99073/week @ 2024-10-31

424,724 downloads per month
Used in 104 crates (6 directly)

MIT/Apache

625KB
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–20MB
~291K SLoC