30 releases (19 breaking)

0.43.0 Mar 14, 2024
0.41.1 Feb 26, 2024
0.40.1 Dec 30, 2023
0.38.0 Oct 12, 2023
0.27.2 Mar 28, 2023

#641 in Filesystem

Download history 122337/week @ 2024-01-22 132896/week @ 2024-01-29 135083/week @ 2024-02-05 129946/week @ 2024-02-12 129549/week @ 2024-02-19 137096/week @ 2024-02-26 140060/week @ 2024-03-04 143123/week @ 2024-03-11 157366/week @ 2024-03-18 148190/week @ 2024-03-25 145978/week @ 2024-04-01 139542/week @ 2024-04-08 142491/week @ 2024-04-15 124749/week @ 2024-04-22 110919/week @ 2024-04-29 113319/week @ 2024-05-06

506,112 downloads per month
Used in 196 crates (3 directly)

MIT/Apache

680KB
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
~252K SLoC