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

Method ensureConnected

go/client.go:596–601  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

594}
595
596func (c *Client) ensureConnected(ctx context.Context) error {
597 if c.client != nil {
598 return nil
599 }
600 return c.Start(ctx)
601}
602
603// CreateSession creates a new conversation session with the Copilot CLI.
604//

Callers 8

CreateSessionMethod · 0.95
ListSessionsMethod · 0.95
GetSessionMetadataMethod · 0.95
DeleteSessionMethod · 0.95
GetLastSessionIDMethod · 0.95

Calls 1

StartMethod · 0.95

Tested by

no test coverage detected