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

Method commitURL

pkg/raw/raw.go:55–57  ·  view source on GitHub ↗

BlobURL returns the URL for a blob in the raw content API.

(owner, repo, sha, path string)

Source from the content-addressed store, hash-verified

53
54// BlobURL returns the URL for a blob in the raw content API.
55func (c *Client) commitURL(owner, repo, sha, path string) string {
56 return c.url.JoinPath(owner, repo, sha, path).String()
57}
58
59type ContentOpts struct {
60 Ref string

Callers 1

URLFromOptsMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected