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

Function stubPushDefault

pkg/cmd/pr/shared/finder_test.go:946–950  ·  view source on GitHub ↗
(pushDefault git.PushDefault, err error)

Source from the content-addressed store, hash-verified

944}
945
946func stubPushDefault(pushDefault git.PushDefault, err error) func(context.Context) (git.PushDefault, error) {
947 return func(_ context.Context) (git.PushDefault, error) {
948 return pushDefault, err
949 }
950}
951
952func stubRemotePushDefault(remotePushDefault string, err error) func(context.Context) (string, error) {
953 return func(_ context.Context) (string, error) {

Callers 3

TestFindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected