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

Method RemotePushDefault

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

Source from the content-addressed store, hash-verified

983}
984
985func (s stubGitConfigClient) RemotePushDefault(ctx context.Context) (string, error) {
986 if s.remotePushDefaultFn == nil {
987 panic("unexpected call to RemotePushDefault")
988 }
989 return s.remotePushDefaultFn(ctx)
990}
991
992func (s stubGitConfigClient) PushRevision(ctx context.Context, branchName string) (git.RemoteTrackingRef, error) {
993 if s.pushRevisionFn == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected