pub fn apply_files(
diff_buf: &[u8],
base_dir: impl AsRef<Path>,
) -> Result<(), DiffError>Expand description
Apply a diff to files on disk under base_dir, atomically: every file
is validated before any is written, and each is written through a
temporary file and a rename.