Skip to main content

apply_plan_controlled

Function apply_plan_controlled 

Source
pub fn apply_plan_controlled<R: Reporter>(
    plan: &SyncPlan,
    src: &Path,
    dst: &Path,
    opts: ApplyOptions,
    reporter: &R,
    control: &RunControl,
) -> Result<Stats>
Expand description

Apply a plan with cooperative pause and cancellation.

ยงErrors

Returns setup, containment, or cancellation errors. Per-entry operation failures continue to be counted in the returned statistics.