Skip to main content

create

Function create 

Source
pub fn create(
    diff: &SyncDiff,
    options: &SyncOptions,
    _cache_bases_dir: &Path,
    diag: &mut DiagnosticCollector,
) -> SyncPlan
Expand description

Create execution plan from diff.

--force: all Conflict entries become Overwrite (source wins). --dry_run: plan is computed identically but not executed (handled by apply).