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

Struct finder

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

Source from the content-addressed store, hash-verified

43}
44
45type finder struct {
46 baseRepoFn func() (ghrepo.Interface, error)
47 branchFn func() (string, error)
48 httpClient func() (*http.Client, error)
49 remotesFn func() (ghContext.Remotes, error)
50 gitConfigClient GitConfigClient
51 progress progressIndicator
52
53 baseRefRepo ghrepo.Interface
54 prNumber int
55 branchName string
56}
57
58func NewFinder(factory *cmdutil.Factory) PRFinder {
59 if finderForRunCommandStyleTests != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected