Skip to main content

line_carried

Function line_carried 

Source
fn line_carried(anchor: &ReviewAnchor, files: &[FileContent]) -> bool
Expand description

Whether any hunk of files carries anchor.line on the anchor’s side.

This is the rule that decides which authority answers: a line the hunks carry is placed there, and a line they do not carry is answered by the whole file alone - never by a content match to some other hunk line that happens to read the same.