pub async fn rollback_package_patch(
package_key: &str,
pkg_path: &Path,
files: &HashMap<String, PatchFileInfo>,
blobs_path: &Path,
dry_run: bool,
) -> RollbackResultExpand description
Verify and rollback patches for a single package.
For each file in files, this function:
- Verifies the file is ready to be rolled back (or already original).
- If not dry_run, reads the before-hash blob and writes it back.
- Returns a summary of what happened.