#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

38 releases (breaking)

0.38.0 Jan 18, 2025
0.37.0 Nov 24, 2024
0.36.0 Oct 22, 2024
0.33.1 Jul 23, 2024
0.15.1 Mar 30, 2023

#203 in Filesystem

Download history 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 137065/week @ 2024-11-30 134849/week @ 2024-12-07 133482/week @ 2024-12-14 94020/week @ 2024-12-21 102637/week @ 2024-12-28 141060/week @ 2025-01-04 145285/week @ 2025-01-11 147196/week @ 2025-01-18 139577/week @ 2025-01-25 124483/week @ 2025-02-01

582,306 downloads per month
Used in 115 crates (8 directly)

MIT/Apache

640KB
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

~11–22MB
~323K SLoC