pub fn resolve_file_changes(
items: &[PackageItem],
action: PreflightAction,
) -> Vec<PackageFileInfo>Expand description
What: Determine file-level changes for a set of packages under a specific preflight action.
Inputs:
items: Package descriptors under consideration.action: Preflight action (install or remove) influencing the comparison strategy.
Output:
- Returns a vector of
PackageFileInfoentries describing per-package file deltas.
Details:
- Invokes pacman commands to compare remote and installed file lists while preserving package order.