Skip to main content

Module refs

Module refs 

Source
Expand description

Refs — branch and HEAD management.

A Refs table maps ref_name → commit_id. HEAD is the currently active branch. Branches are lightweight pointers — just a name and a commit ID.

Structs§

Ref
A single ref (branch or tag).
RefsTable
The refs table — manages branches and HEAD.

Enums§

RefType
Type of ref.
RefsError
Errors from refs operations.

Functions§

refs_schema
Schema for the Refs table.