MCPcopy Index your code
hub / github.com/github/copilot-sdk / removeOpenCanvas

Method removeOpenCanvas

nodejs/src/session.ts:578–582  ·  view source on GitHub ↗
(instanceId: string)

Source from the content-addressed store, hash-verified

576 }
577
578 private removeOpenCanvas(instanceId: string): void {
579 this.openCanvasInstances = this.openCanvasInstances.filter(
580 (open) => open.instanceId !== instanceId
581 );
582 }
583
584 private upsertOpenCanvas(instance: OpenCanvasInstance): void {
585 const index = this.openCanvasInstances.findIndex(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected