pub fn apply_op(file: &mut File, op: PatchOp) -> Result<(), PatchError>
Applies a single patch operation to a file.