fieldCapturingFinder records the fields a run asks the pull request lookup for, then delegates to the finder it wraps.
| 1714 | // fieldCapturingFinder records the fields a run asks the pull request lookup |
| 1715 | // for, then delegates to the finder it wraps. |
| 1716 | type fieldCapturingFinder struct { |
| 1717 | shared.PRFinder |
| 1718 | fields *[]string |
| 1719 | } |
| 1720 | |
| 1721 | func (f fieldCapturingFinder) Find(opts shared.FindOptions) (*api.PullRequest, ghrepo.Interface, error) { |
| 1722 | *f.fields = opts.Fields |
nothing calls this directly
no outgoing calls
no test coverage detected