Skip to main content

Function: buildLocalOperations()

buildLocalOperations(args: BuildLocalOperationsArgs): { nextOpId: number; operations: CloudSyncOperation[]; }

Defined in: electron/services/sync/syncEngineState.ts:517

Builds the operation log entries required to transform the baseline into the current canonical state.

Parameters

args

BuildLocalOperationsArgs

Diff inputs including baseline and current state.

Returns

{ nextOpId: number; operations: CloudSyncOperation[]; }

nextOpId

nextOpId: number

operations

operations: CloudSyncOperation[]