MCPcopy
hub / github.com/github/github-mcp-server / Write

Method Write

pkg/github/helper_test.go:599–604  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

597}
598
599func (r *responseRecorder) Write(data []byte) (int, error) {
600 if r.statusCode == 0 {
601 r.statusCode = http.StatusOK
602 }
603 return r.body.Write(data)
604}
605
606func (r *responseRecorder) WriteHeader(statusCode int) {
607 r.statusCode = statusCode

Callers 15

Test_GetPullRequestFunction · 0.45
Test_UpdatePullRequestFunction · 0.45
Test_ListPullRequestsFunction · 0.45
Test_MergePullRequestFunction · 0.45
Test_SearchPullRequestsFunction · 0.45
Test_GetPullRequestFilesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected