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

Method WriteHeader

pkg/github/helper_test.go:606–608  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

604}
605
606func (r *responseRecorder) WriteHeader(statusCode int) {
607 r.statusCode = statusCode
608}
609
610// matchPath checks if a request path matches a pattern (supports simple wildcards)
611func matchPath(pattern, path string) bool {

Calls

no outgoing calls

Tested by

no test coverage detected