MCPcopy
hub / github.com/npmx-dev/npmx.dev / addOperations

Method addOperations

cli/src/mock-state.ts:202–204  ·  view source on GitHub ↗
(operations: NewOperationInput[])

Source from the content-addressed store, hash-verified

200 }
201
202 addOperations(operations: NewOperationInput[]): PendingOperation[] {
203 return operations.map(op => this.addOperation(op))
204 }
205
206 getOperation(id: string): PendingOperation | undefined {
207 return this.state.operations.find(op => op.id === id)

Callers 1

createMockConnectorAppFunction · 0.80

Calls 1

addOperationMethod · 0.95

Tested by

no test coverage detected