Skip to main content

diff_file

Function diff_file 

Source
pub async fn diff_file(
    path: &Path,
    new_content: &str,
    context_lines: usize,
) -> Result<String, Error>
Expand description

Produce a unified diff between the file’s current content and proposed new content.