Skip to main content

raw_diff_text

Function raw_diff_text 

Source
pub fn raw_diff_text(
    root_dir: &Path,
    diff_range: Option<&str>,
    timeout: u64,
) -> Result<String>
Expand description

The unified diff of diff_range as git prints it, minus the file sections diff mode never discloses: secret-like paths, ignored paths, and lock files (#112). Additive output for --with-raw-diff (#150) — it feeds no selection state, so selection is bit-identical with and without it.