pub fn apply_file(data: &[u8], edit: &FileEdit) -> Result<Vec<u8>, DiffError>
Apply one file’s records (DIFF.md “Records”): each search text must match once from the cursor to the end of the file.