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 records (DIFF.md “Records”): each search text must match once from the cursor to the end of the file.