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

#1269 in Filesystem

Download history 113686/week @ 2024-10-09 125285/week @ 2024-10-16 118118/week @ 2024-10-23 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 134792/week @ 2025-01-22

611,487 downloads per month
Used in 285 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
~293K SLoC