pub fn apply_report(
directory: impl AsRef<Path>,
policy: &BatchPolicy,
) -> Result<BatchStatus>Expand description
Apply every candidate the policy allows and return per-file outcomes.
Interrupting the process is safe: each file is a separate journaled
operation that restore_report (or the web UI) can undo.