32 releases (20 breaking)

0.44.1 May 27, 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

#483 in Filesystem

Download history 128896/week @ 2024-02-15 132718/week @ 2024-02-22 141106/week @ 2024-02-29 136826/week @ 2024-03-07 150492/week @ 2024-03-14 157142/week @ 2024-03-21 146804/week @ 2024-03-28 141262/week @ 2024-04-04 141854/week @ 2024-04-11 139762/week @ 2024-04-18 112393/week @ 2024-04-25 113765/week @ 2024-05-02 120377/week @ 2024-05-09 110164/week @ 2024-05-16 115225/week @ 2024-05-23 98398/week @ 2024-05-30

462,794 downloads per month
Used in 201 crates (3 directly)

MIT/Apache

695KB
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–18MB
~262K SLoC