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

Method PushDefault

pkg/cmd/pr/shared/finder_test.go:978–983  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

976}
977
978func (s stubGitConfigClient) PushDefault(ctx context.Context) (git.PushDefault, error) {
979 if s.pushDefaultFn == nil {
980 panic("unexpected call to PushDefault")
981 }
982 return s.pushDefaultFn(ctx)
983}
984
985func (s stubGitConfigClient) RemotePushDefault(ctx context.Context) (string, error) {
986 if s.remotePushDefaultFn == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected