MCPcopy Create free account
hub / github.com/github/copilot-sdk / newTestCanvasSession

Function newTestCanvasSession

go/canvas_test.go:413–420  ·  view source on GitHub ↗
(sessionID string)

Source from the content-addressed store, hash-verified

411}
412
413func newTestCanvasSession(sessionID string) *Session {
414 session := &Session{
415 SessionID: sessionID,
416 clientSessionAPIs: &rpc.ClientSessionAPIHandlers{},
417 }
418 session.clientSessionAPIs.Canvas = newCanvasClientSessionAdapter(session)
419 return session
420}
421
422func strPtr(s string) *string { return &s }

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…