()
| 300 | } |
| 301 | |
| 302 | func (pr PullRequest) HeadLabel() string { |
| 303 | if pr.IsCrossRepository { |
| 304 | return fmt.Sprintf("%s:%s", pr.HeadRepositoryOwner.Login, pr.HeadRefName) |
| 305 | } |
| 306 | return pr.HeadRefName |
| 307 | } |
| 308 | |
| 309 | func (pr PullRequest) Link() string { |
| 310 | return pr.URL |
no outgoing calls
no test coverage detected