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

Method UpdateBranch

pkg/cmd/repo/sync/mocks.go:12–15  ·  view source on GitHub ↗
(b, r string)

Source from the content-addressed store, hash-verified

10}
11
12func (g *mockGitClient) UpdateBranch(b, r string) error {
13 args := g.Called(b, r)
14 return args.Error(0)
15}
16
17func (g *mockGitClient) Worktrees() ([]git.Worktree, error) {
18 args := g.Called()

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected