33 releases (21 breaking)

new 0.45.0 Jul 23, 2024
0.43.0 Mar 14, 2024
0.40.1 Dec 30, 2023
0.38.0 Oct 12, 2023
0.27.2 Mar 28, 2023

#200 in Filesystem

Download history 140784/week @ 2024-04-05 141638/week @ 2024-04-12 136346/week @ 2024-04-19 112436/week @ 2024-04-26 113063/week @ 2024-05-03 120605/week @ 2024-05-10 112828/week @ 2024-05-17 112458/week @ 2024-05-24 119013/week @ 2024-05-31 110165/week @ 2024-06-07 116272/week @ 2024-06-14 108991/week @ 2024-06-21 101550/week @ 2024-06-28 107405/week @ 2024-07-05 110562/week @ 2024-07-12 90615/week @ 2024-07-19

428,205 downloads per month
Used in 224 crates (3 directly)

MIT/Apache

720KB
14K 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

~7–17MB
~249K SLoC