Skip to content

BulkOperationCommitComponent.undoBulkOperation method

BulkOperationCommitComponent › undoBulkOperation

Lets the user pick one of the plugin's bulk operations and reverts its commit.

A conflict is reported and left for the user to resolve; the revert is never aborted.

Signature:

undoBulkOperation(operationId?: string | undefined): Promise<void>

Parameters:

ParameterTypeDescription
operationId?string | undefinedThe operation to undo, such as OP12. When omitted, the user picks from every operation of the plugin. When two commits share the id (two machines minted it before syncing), the user picks between them.

Returns: Promise<void>