Method
newRequest
(ctx context.Context, method string, urlStr string, body any, opts ...gogithub.RequestOption)
Source from the content-addressed store, hash-verified
| 31 | } |
| 32 | |
| 33 | func (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 | |
| 37 | func (c *Client) refURL(owner, repo, ref, path string) string { |
| 38 | if ref == "" { |
Tested by
no test coverage detected