32 releases (breaking)

new 0.65.0 Nov 24, 2024
0.63.0 Aug 22, 2024
0.61.1 Jul 23, 2024
0.59.0 Mar 14, 2024
0.43.1 Mar 30, 2023

#126 in Database interfaces

Download history 93110/week @ 2024-08-04 91833/week @ 2024-08-11 89617/week @ 2024-08-18 88952/week @ 2024-08-25 97104/week @ 2024-09-01 101563/week @ 2024-09-08 92744/week @ 2024-09-15 95002/week @ 2024-09-22 99425/week @ 2024-09-29 96932/week @ 2024-10-06 108091/week @ 2024-10-13 104156/week @ 2024-10-20 100365/week @ 2024-10-27 104202/week @ 2024-11-03 111167/week @ 2024-11-10 103187/week @ 2024-11-17

428,467 downloads per month
Used in 194 crates (2 directly)

MIT/Apache

1MB
20K SLoC

Git stores all of its data as Objects, which are data along with a hash over all data. Thus it's an object store indexed by the signature of data itself with inherent deduplication: the same data will have the same hash, and thus occupy the same space within the store.

There is only one all-round object store, also known as the Store, as it supports everything most of what git has to offer.

  • loose object reading and writing
  • access to packed objects
  • multiple loose objects and pack locations as gathered from alternates files.

Feature Flags

Dependencies

~10–20MB
~284K SLoC