39 releases (breaking)

0.50.0 Jan 18, 2025
0.49.1 Dec 22, 2024
0.49.0 Nov 24, 2024
0.45.0 Jul 23, 2024
0.27.2 Mar 28, 2023

#1278 in Filesystem

Download history 118028/week @ 2024-10-30 126784/week @ 2024-11-06 126948/week @ 2024-11-13 141574/week @ 2024-11-20 138547/week @ 2024-11-27 156719/week @ 2024-12-04 154033/week @ 2024-12-11 135629/week @ 2024-12-18 101625/week @ 2024-12-25 128563/week @ 2025-01-01 166551/week @ 2025-01-08 164937/week @ 2025-01-15 160302/week @ 2025-01-22 165254/week @ 2025-01-29 180710/week @ 2025-02-05 160736/week @ 2025-02-12

695,187 downloads per month
Used in 291 crates (4 directly)

MIT/Apache

770KB
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
~308K SLoC