Skip to main content

Function: buildLocalOperations()

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

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

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[];