Skip to main content

parse_edit_trailers

Function parse_edit_trailers 

Source
pub fn parse_edit_trailers(content: &str) -> Option<(u64, u64)>
Expand description

Sum every [+N -M] line in content (a multi-file patch emits one per file). None when there is no trailer at all.