MCPcopy Index your code
hub / github.com/cli/cli / mockFinder

Struct mockFinder

pkg/cmd/pr/shared/finder.go:637–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637type mockFinder struct {
638 called bool
639 expectSelector string
640 expectFields []string
641 pr *api.PullRequest
642 repo ghrepo.Interface
643 err error
644}
645
646func (m *mockFinder) Find(opts FindOptions) (*api.PullRequest, ghrepo.Interface, error) {
647 if m.err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected