38 releases (25 breaking)

0.49.1 Dec 22, 2024
0.49.0 Nov 24, 2024
0.48.0 Oct 22, 2024
0.45.0 Jul 23, 2024
0.27.2 Mar 28, 2023

#1189 in Filesystem

Download history 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 125930/week @ 2024-11-12 137872/week @ 2024-11-19 137630/week @ 2024-11-26 157319/week @ 2024-12-03 155365/week @ 2024-12-10 143989/week @ 2024-12-17 102465/week @ 2024-12-24 118619/week @ 2024-12-31 165845/week @ 2025-01-07

557,056 downloads per month
Used in 273 crates (4 directly)

MIT/Apache

790KB
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

~10–20MB
~294K SLoC