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

Struct fieldCapturingFinder

pkg/cmd/pr/edit/edit_test.go:1716–1719  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected