Expand description
View object (SPEC §4.6) - a snapshot of the mutable state of a repo.
Carries:
heads- current head commits (≥1, or 0 for the root View per §7.5)refs- named references (branches, tags) as a map of name →RefTargetremote_refs- optional per-remote named referenceswc_commit- optional working-copy pointer
RefTargets are either Normal(Cid) or Conflicted { adds, removes };
see SPEC §4.6 and amendments.
Structs§
- View
- A snapshot of the repository’s mutable state at a single instant.