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

Function stubRemotes

pkg/cmd/pr/shared/finder_test.go:934–938  ·  view source on GitHub ↗
(remotes ghContext.Remotes, err error)

Source from the content-addressed store, hash-verified

932}
933
934func stubRemotes(remotes ghContext.Remotes, err error) func() (ghContext.Remotes, error) {
935 return func() (ghContext.Remotes, error) {
936 return remotes, err
937 }
938}
939
940func stubBaseRepoFn(baseRepo ghrepo.Interface, err error) func() (ghrepo.Interface, error) {
941 return func() (ghrepo.Interface, error) {

Callers 2

TestFindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected