pub fn run(
plan: &RestorePlan,
mode: Mode,
) -> Result<Vec<RestoredChange>, ApplyError>Expand description
Walk plan.actions. In Mode::DryRun the filesystem is untouched;
every change is classified as if Mode::Apply had run, so dry-run
output mirrors apply output one-for-one (same convention as install
and uninstall executors).