Expand description
The workspace’s single line-diff owner.
Every unified-diff renderer in the codebase — orchestration run-record
diffs, the ast.dry_run preview, and the harn package publish index
preview — routes through render_line_diff so the algorithm choice and
context radius live in exactly one place. Callers supply their own file
header (--- a/… / +++ b/…, /dev/null, etc.); this module owns the
@@ hunk body and the +/- line counts.
Structs§
- Line
Diff - A rendered line diff: the unified-diff hunk body plus raw
+/-counts.
Functions§
- render_
line_ diff - Diff
beforeagainstafterline by line.