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