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

#1523 in Filesystem

Download history 141374/week @ 2024-11-21 141708/week @ 2024-11-28 156990/week @ 2024-12-05 153442/week @ 2024-12-12 122569/week @ 2024-12-19 102189/week @ 2024-12-26 144534/week @ 2025-01-02 166943/week @ 2025-01-09 165365/week @ 2025-01-16 158424/week @ 2025-01-23 166476/week @ 2025-01-30 185953/week @ 2025-02-06 188127/week @ 2025-02-13 199815/week @ 2025-02-20 198225/week @ 2025-02-27 170559/week @ 2025-03-06

790,551 downloads per month
Used in 296 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

~11–21MB
~317K SLoC