37 releases (breaking)

new 0.49.0 Nov 24, 2024
0.47.0 Aug 22, 2024
0.45.0 Jul 23, 2024
0.43.0 Mar 14, 2024
0.27.2 Mar 28, 2023

#772 in Debugging

Download history 108712/week @ 2024-08-04 108998/week @ 2024-08-11 108239/week @ 2024-08-18 108168/week @ 2024-08-25 117328/week @ 2024-09-01 122490/week @ 2024-09-08 110277/week @ 2024-09-15 117847/week @ 2024-09-22 118279/week @ 2024-09-29 109604/week @ 2024-10-06 125381/week @ 2024-10-13 119062/week @ 2024-10-20 116780/week @ 2024-10-27 121733/week @ 2024-11-03 130577/week @ 2024-11-10 117857/week @ 2024-11-17

497,474 downloads per month
Used in 257 crates (3 directly)

MIT/Apache

785KB
15K SLoC

A crate for handling the references stored in various formats in a git repository.

References are also called refs which are used interchangeably.

Refs are the way to keep track of objects and come in two flavors.

  • symbolic refs are pointing to another reference
  • peeled refs point to the an object by its ObjectId

They can be identified by a relative path and stored in various flavors.

  • files
    • loose
      • one reference maps to a file on disk
    • packed
      • references are stored in a single human-readable file, along with their targets if they are symbolic.

Feature Flags

Dependencies

~9–19MB
~273K SLoC