#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

#218 in Filesystem

Download history 97022/week @ 2024-07-30 92312/week @ 2024-08-06 90148/week @ 2024-08-13 88207/week @ 2024-08-20 85554/week @ 2024-08-27 100620/week @ 2024-09-03 100105/week @ 2024-09-10 92092/week @ 2024-09-17 93620/week @ 2024-09-24 98158/week @ 2024-10-01 97731/week @ 2024-10-08 107732/week @ 2024-10-15 100531/week @ 2024-10-22 100883/week @ 2024-10-29 106991/week @ 2024-11-05 92377/week @ 2024-11-12

418,509 downloads per month
Used in 108 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–22MB
~294K SLoC