MCPcopy Create free account
hub / github.com/cli/cli / fieldCapturingFinder

Struct fieldCapturingFinder

pkg/cmd/pr/edit/edit_test.go:1714–1717  ·  view source on GitHub ↗

fieldCapturingFinder records the fields a run asks the pull request lookup for, then delegates to the finder it wraps.

Source from the content-addressed store, hash-verified

1712// fieldCapturingFinder records the fields a run asks the pull request lookup
1713// for, then delegates to the finder it wraps.
1714type fieldCapturingFinder struct {
1715 shared.PRFinder
1716 fields *[]string
1717}
1718
1719func (f fieldCapturingFinder) Find(opts shared.FindOptions) (*api.PullRequest, ghrepo.Interface, error) {
1720 *f.fields = opts.Fields

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected