Skip to main content

try_get_mutation_diff

Function try_get_mutation_diff 

Source
pub fn try_get_mutation_diff(
    root: &Path,
    git_ref: &str,
) -> Result<String, ChangedFilesError>
Expand description

Return a mutation scope diff with explicit rename and copy detection.

Ordinary copy detection considers modified sources without searching every unchanged file. Git’s configured similarity limit still applies.