Skip to main content

generate_diff_string

Function generate_diff_string 

Source
pub fn generate_diff_string(
    content: &str,
    edits: &[Edit],
    context_lines: usize,
) -> Result<EditDiffResult, EditDiffError>
Expand description

Generate a diff string from a set of edits applied to content