()
| 307 | } |
| 308 | |
| 309 | func (pr PullRequest) HeadLabel() string { |
| 310 | if pr.IsCrossRepository { |
| 311 | return fmt.Sprintf("%s:%s", pr.HeadRepositoryOwner.Login, pr.HeadRefName) |
| 312 | } |
| 313 | return pr.HeadRefName |
| 314 | } |
| 315 | |
| 316 | func (pr PullRequest) Link() string { |
| 317 | return pr.URL |
no outgoing calls
no test coverage detected