MCPcopy Index your code
hub / github.com/google/go-github / UploadURL

Method UploadURL

github/github.go:701–706  ·  view source on GitHub ↗

UploadURL returns the base URL for upload API requests.

()

Source from the content-addressed store, hash-verified

699
700// UploadURL returns the base URL for upload API requests.
701func (c *Client) UploadURL() string {
702 if c.uploadURL == nil {
703 return ""
704 }
705 return c.uploadURL.String()
706}
707
708// Clone returns a copy of the client with the same configuration and services.
709// The returned client has its own http.Client but shares the client

Callers 1

TestClient_UploadURLFunction · 0.80

Calls 1

StringMethod · 0.45

Tested by 1

TestClient_UploadURLFunction · 0.64