MCPcopy Create free account
hub / github.com/koding/kite / setContext

Method setContext

client.go:276–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274}
275
276func (c *Client) setContext() {
277 c.ctxMu.Lock()
278 c.ctx, c.cancel = context.WithCancel(context.Background())
279 c.ctxMu.Unlock()
280}
281
282func (c *Client) closeContext() {
283 c.ctxMu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected