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

Method GetDownloadURL

github/github-accessors.go:25098–25103  ·  view source on GitHub ↗

GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

25096
25097// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise.
25098func (p *PackageFile) GetDownloadURL() string {
25099 if p == nil || p.DownloadURL == nil {
25100 return ""
25101 }
25102 return *p.DownloadURL
25103}
25104
25105// GetID returns the ID field if it's non-nil, zero value otherwise.
25106func (p *PackageFile) GetID() int64 {

Callers 2

Calls

no outgoing calls

Tested by 1