Skip to main content

write_patch

Function write_patch 

Source
pub fn write_patch(files: &[FileDiff]) -> String
Expand description

Writes files as one unified patch (the inverse of parse_patch for git diff output).