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

Struct mockFinder

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected