MCPcopy Create free account
hub / github.com/codeaashu/claude-code / update

Function update

src/hooks/toolPermission/PermissionContext.ts:371–377  ·  view source on GitHub ↗
(toolUseID: string, patch: Partial<ToolUseConfirm>)

Source from the content-addressed store, hash-verified

369 )
370 },
371 update(toolUseID: string, patch: Partial<ToolUseConfirm>) {
372 setToolUseConfirmQueue(queue =>
373 queue.map(item =>
374 item.toolUseID === toolUseID ? { ...item, ...patch } : item,
375 ),
376 )
377 },
378 }
379}
380

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected