#version-control #gix #file #git

gix-index

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

40 releases (breaking)

new 0.40.0 Apr 26, 2025
0.38.0 Jan 18, 2025
0.37.0 Nov 24, 2024
0.33.1 Jul 23, 2024
0.15.1 Mar 30, 2023

#723 in Filesystem

Download history 141060/week @ 2025-01-04 145285/week @ 2025-01-11 147196/week @ 2025-01-18 139514/week @ 2025-01-25 146120/week @ 2025-02-01 166271/week @ 2025-02-08 162139/week @ 2025-02-15 163107/week @ 2025-02-22 168562/week @ 2025-03-01 196182/week @ 2025-03-08 189743/week @ 2025-03-15 152020/week @ 2025-03-22 303212/week @ 2025-03-29 394499/week @ 2025-04-05 271814/week @ 2025-04-12 172531/week @ 2025-04-19

1,166,215 downloads per month
Used in 159 crates (8 directly)

MIT/Apache

645KB
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.

Dependencies

~13–24MB
~357K SLoC