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

Method end

go/copilot_request_handler.go:350–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348}
349
350func (w *wsResponseWriter) end() error {
351 w.mu.Lock()
352 defer w.mu.Unlock()
353 if w.completed {
354 return nil
355 }
356 w.completed = true
357 return w.sink.end()
358}
359
360func (w *wsResponseWriter) fail(message string, code string) error {
361 w.mu.Lock()

Callers 1

handleWebSocketMethod · 0.95

Calls 1

endMethod · 0.45

Tested by

no test coverage detected