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

Method GetPullRequest

github/github-accessors.go:3498–3503  ·  view source on GitHub ↗

GetPullRequest returns the PullRequest slice if it's non-nil, nil otherwise.

()

Source from the content-addressed store, hash-verified

3496
3497// GetPullRequest returns the PullRequest slice if it's non-nil, nil otherwise.
3498func (b *BranchRules) GetPullRequest() []*PullRequestBranchRule {
3499 if b == nil || b.PullRequest == nil {
3500 return nil
3501 }
3502 return b.PullRequest
3503}
3504
3505// GetRequiredDeployments returns the RequiredDeployments slice if it's non-nil, nil otherwise.
3506func (b *BranchRules) GetRequiredDeployments() []*RequiredDeploymentsBranchRule {

Calls

no outgoing calls