MCPcopy Index your code
hub / github.com/cli/cli / CheckoutBranch

Method CheckoutBranch

pkg/cmd/extension/mocks.go:12–15  ·  view source on GitHub ↗
(branch string)

Source from the content-addressed store, hash-verified

10}
11
12func (g *mockGitClient) CheckoutBranch(branch string) error {
13 args := g.Called(branch)
14 return args.Error(0)
15}
16
17func (g *mockGitClient) Clone(cloneURL string, cloneArgs []string) (string, error) {
18 args := g.Called(cloneURL, cloneArgs)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected