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

#1306 in Filesystem

Download history 128274/week @ 2024-11-16 137711/week @ 2024-11-23 155288/week @ 2024-11-30 154992/week @ 2024-12-07 149553/week @ 2024-12-14 105264/week @ 2024-12-21 114017/week @ 2024-12-28 160074/week @ 2025-01-04 163722/week @ 2025-01-11 162991/week @ 2025-01-18 159371/week @ 2025-01-25 170112/week @ 2025-02-01 194827/week @ 2025-02-08 190553/week @ 2025-02-15 194790/week @ 2025-02-22 170996/week @ 2025-03-01

778,952 downloads per month
Used in 295 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
~316K SLoC