Skip to main content

resolve_anchor_in_content

Function resolve_anchor_in_content 

Source
pub fn resolve_anchor_in_content(
    anchor: &ReviewAnchor,
    files: &[FileContent],
    trust_line_number: bool,
) -> AnchorResolution
Expand description

Re-resolve anchor against the socket’s bounded content read, whose files carry hunks but not the overlay scan’s own shape. Same resolution as resolve_anchor, one implementation.