Expand description
Per-view code-graph manifests: the identity layer over content-addressed slices (ADR 0012).
A manifest maps every path in a view to the ContentHash of the slice
that currently populates it: (repo, view_id) -> { path -> content_hash }.
Slices are content-addressed and shared across worktrees; the manifest is
what gives a view its identity and lets assembly resolve path -> slice.
It is regenerable from source, so a divergence is reconciled last-writer-wins
(MergeClass::Derived) rather than surfaced as a conflict.
Structs§
- Manifest
- A per-view manifest body: path -> the content hash of the populating slice.
- Reconciliation
- The result of reconciling a
Manifestagainst a working tree: the change sets (each sorted) plus the reconciled manifest, which equals the tree.
Functions§
- desired_
set - Build the desired
path -> content_hashset for a working tree by hashing each file’s content. The output feedsManifest::reconcile.