Skip to main content

rename_target

Function rename_target 

Source
fn rename_target(path: &str) -> String
Expand description

A --numstat path resolved to the file’s new name: a rename crosses as dir/{old => new}.rs, or old => new when the two share no affixes, while --name-status and the diff body both speak the new path alone - so the merge in scan needs the same key from every read.