MCPcopy
hub / github.com/cli/cli / CheckoutBranch

Method CheckoutBranch

pkg/cmd/extension/git.go:10–10  ·  view source on GitHub ↗
(branch string)

Source from the content-addressed store, hash-verified

8
9type gitClient interface {
10 CheckoutBranch(branch string) error
11 Clone(cloneURL string, args []string) (string, error)
12 CommandOutput(args []string) ([]byte, error)
13 Config(name string) (string, error)

Callers 5

checkoutBranchFunction · 0.65
closeRunFunction · 0.65
deleteLocalBranchMethod · 0.65
CheckoutBranchMethod · 0.65
installGitMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected