Skip to main content

validate_diff_input

Function validate_diff_input 

Source
pub fn validate_diff_input(diff: &str) -> Result<()>
Expand description

Rejects input that cannot be a unified diff, with a message naming the likely cause.