Skip to main content

apply_file

Function apply_file 

Source
pub fn apply_file(data: &[u8], edit: &FileEdit) -> Result<Vec<u8>, DiffError>
Expand description

Apply one file’s edits (DIFF.md “Sections”, “Replace-all”).