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

Method GetMergeCommitSHA

github/github-accessors.go:29122–29127  ·  view source on GitHub ↗

GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise.

()

Source from the content-addressed store, hash-verified

29120
29121// GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise.
29122func (p *PullRequest) GetMergeCommitSHA() string {
29123 if p == nil || p.MergeCommitSHA == nil {
29124 return ""
29125 }
29126 return *p.MergeCommitSHA
29127}
29128
29129// GetMerged returns the Merged field if it's non-nil, zero value otherwise.
29130func (p *PullRequest) GetMerged() bool {

Calls

no outgoing calls