(ctx context.Context, branchName string)
| 969 | } |
| 970 | |
| 971 | func (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 | |
| 978 | func (s stubGitConfigClient) PushDefault(ctx context.Context) (git.PushDefault, error) { |
| 979 | if s.pushDefaultFn == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected