MCPcopy
hub / github.com/mislav/hub / HasRequestedTeam

Method HasRequestedTeam

github/client.go:658–665  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

656}
657
658func (pr *PullRequest) HasRequestedTeam(name string) bool {
659 for _, team := range pr.RequestedTeams {
660 if strings.EqualFold(team.Slug, name) {
661 return true
662 }
663 }
664 return false
665}
666
667type IssueLabel struct {
668 Name string `json:"name"`

Callers 1

pullRequestFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected