MCPcopy Index your code
hub / github.com/github/github-mcp-server / newRequest

Method newRequest

pkg/raw/raw.go:33–35  ·  view source on GitHub ↗
(ctx context.Context, method string, urlStr string, body any, opts ...gogithub.RequestOption)

Source from the content-addressed store, hash-verified

31}
32
33func (c *Client) newRequest(ctx context.Context, method string, urlStr string, body any, opts ...gogithub.RequestOption) (*http.Request, error) {
34 return c.client.NewRequest(ctx, method, urlStr, body, opts...)
35}
36
37func (c *Client) refURL(owner, repo, ref, path string) string {
38 if ref == "" {

Callers 1

GetRawContentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected