Expand description
Storage-neutral resumable blame slices.
Heddle owns ancestry walk, path lookup, first-parent merge policy, LCS tie-breaking, origin finalization, and provenance invariants. Callers own job rows, leases, and persistence of the returned frontier.
Structs§
- Blame
Frontier Group - Canonical LIFO frontier group. Replay of the same group is deterministic.
- Blame
Frontier Record - One unfinalized hunk still walking toward older ancestors.
- Blame
Line Map - Compact run mapping state-file lines onto target-file lines.
- Blame
Slice Limits - Caps for one
super::advance_file_blame_slicecall. - Blame
Target - Prepared target file a persisted frontier may attribute.
- Origin
Range - Finalized target-line range. Each target line is emitted at most once.
Enums§
- Blame
Preparation - Outcome of preparing the target path before any slice walk.
- Blame
Slice Advance - Bounded slice result. Callers persist this only on success.
- Blame
Slice Error - Typed slice failure. Missing objects are distinct from budget exhaustion.
Functions§
- advance_
file_ blame_ slice - Compute one deterministic slice. On success the result is complete; on error callers must not persist half-emitted mutations.
- blame_
file - Walk
pathatstateby repeatingadvance_file_blame_sliceuntil the frontier is exhausted, then finalize. This is not an eager full-file shim; each slice stays insidelimits. - finalize_
file_ provenance - Assemble
FileProvenancefrom finalized ranges without holding history. - origin_
from_ state - prepare_
file_ blame - Build the first frontier for
pathatstatewithout walking parents.