Expand description
Scratch-budgeted equal-run LCS used by native blame and Git-overlay blame.
Structs§
- Equal
Run - One inclusive-length run of equal lines in Myers order.
- Line
Diff Limits - Admission caps for one equal-run LCS visit.
Enums§
- Line
Diff Error - Typed LCS failure.
BudgetExceededis distinct from UTF-8 rejection and from a visitor that cancelled.
Functions§
- scratch_
bytes_ for_ line_ counts - split_
text_ lines - Split UTF-8 content into the same logical lines used by blame.
- visit_
lcs_ equal_ runs - Visit equal index ranges in deterministic Myers order.
Type Aliases§
- LcsVisit
Result - Successful visit: equal runs were emitted and usage is observable.