UploadTarget is IsPullRequest for a command that uploads files with --attach. Its one lookup also returns what an upload needs to know about repo.
(repo ghrepo.Interface, number int)
| 27 | // --attach. Its one lookup also returns what an upload needs to know |
| 28 | // about repo. |
| 29 | UploadTarget(repo ghrepo.Interface, number int) (*UploadTarget, error) |
| 30 | // List returns the artifacts on an issue in the order the API returns |
| 31 | // them, which is number order. An empty artifactType lists every type, |
| 32 | // and a limit of 0 lists every artifact. |
no outgoing calls