pub fn apply_plan<R: Reporter>(
plan: &SyncPlan,
src: &Path,
dst: &Path,
opts: ApplyOptions,
reporter: &R,
) -> Result<Stats>Expand description
Apply plan, mirroring src into dst.
Returns the Stats tally. Per-entry failures are reported via reporter
and counted in Stats::errors; only setup-level problems (e.g. a
containment violation establishing the root) abort the whole run.
ยงErrors
Returns an error if the destination root cannot be created/canonicalized, or a relative path fails its safety check.