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

Function statusText

go/copilot_request_handler.go:242–244  ·  view source on GitHub ↗
(resp *http.Response)

Source from the content-addressed store, hash-verified

240}
241
242func statusText(resp *http.Response) string {
243 return strings.TrimSpace(strings.TrimPrefix(resp.Status, strconv.Itoa(resp.StatusCode)))
244}
245
246func cloneHeader(h http.Header) http.Header {
247 out := http.Header{}

Callers 1

streamResponseToSinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…