36 releases (breaking)

0.48.0 Oct 22, 2024
0.46.0 Aug 22, 2024
0.45.0 Jul 23, 2024
0.43.0 Mar 14, 2024
0.27.2 Mar 28, 2023

#764 in Debugging

Download history 111530/week @ 2024-07-30 109350/week @ 2024-08-06 110222/week @ 2024-08-13 107719/week @ 2024-08-20 105041/week @ 2024-08-27 123022/week @ 2024-09-03 120469/week @ 2024-09-10 110304/week @ 2024-09-17 116463/week @ 2024-09-24 118268/week @ 2024-10-01 112060/week @ 2024-10-08 125700/week @ 2024-10-15 117062/week @ 2024-10-22 118853/week @ 2024-10-29 124972/week @ 2024-11-05 125610/week @ 2024-11-12

507,483 downloads per month
Used in 260 crates (3 directly)

MIT/Apache

780KB
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–20MB
~277K SLoC