| Name | Type | Description |
|---|---|---|
line* | str | A single unified-diff line. |
Return whether a diff line is the truncation marker.
One predicate for both readers, which previously disagreed: the renderer stripped, the recount compared exactly.
Exact, deliberately. compute_unified_diff writes the marker bare, while
every real diff line carries a +, -, or space prefix — so an exact match
cannot collide with file content, and a source line whose own text is ...
arrives here as " ..." and stays a context row. Stripping would classify
that line as a clipped body and suppress the change counts for a diff that
is complete.