Skip to main content

source_line_edit_map

Function source_line_edit_map 

Source
pub fn source_line_edit_map(
    old: &Blob,
    new: &Blob,
    max_bytes: usize,
    max_edits: usize,
) -> Result<SourceLineMapBuild, SourceTargetError>
Expand description

Build once for an old/new blob pair, regardless of how many ranges refer to that file. Limits apply before parsing and before admitting the edit map. No elapsed-time fallback changes the resulting coordinate decisions.