cmd-sync-servers - v1.0.0
    Preparing search index...

    Interface PlanOptions

    Options of SyncSession.plan.

    interface PlanOptions {
        deleteOrphans?: boolean;
        direction: Direction;
        onProgress?: (event: ProgressEvent) => void;
        scope?: Scope;
        signal?: AbortSignal;
    }
    Index
    deleteOrphans?: boolean

    The delete option of the sync dialog.

    direction: Direction

    Put newer local files, get newer remote files, or both.

    onProgress?: (event: ProgressEvent) => void

    Receives scan-local, scan-remote and compare events.

    scope?: Scope

    The whole site, or some paths of it. Default: the whole site.

    signal?: AbortSignal

    Stops the scan; the call then rejects with E_CANCELLED.