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

Method ReadBranchConfig

pkg/cmd/pr/shared/finder_test.go:971–976  ·  view source on GitHub ↗
(ctx context.Context, branchName string)

Source from the content-addressed store, hash-verified

969}
970
971func (s stubGitConfigClient) ReadBranchConfig(ctx context.Context, branchName string) (git.BranchConfig, error) {
972 if s.readBranchConfigFn == nil {
973 panic("unexpected call to ReadBranchConfig")
974 }
975 return s.readBranchConfigFn(ctx, branchName)
976}
977
978func (s stubGitConfigClient) PushDefault(ctx context.Context) (git.PushDefault, error) {
979 if s.pushDefaultFn == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected