Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ CreateBranch
Method
CreateBranch
pkg/cmd/repo/sync/mocks.go:22–25 ·
view source on GitHub ↗
(b, r, u string)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
(g *mockGitClient) CreateBranch(b, r, u string) error {
23
args := g.Called(b, r, u)
24
return
args.Error(0)
25
}
26
27
func
(g *mockGitClient) CurrentBranch() (string, error) {
28
args := g.Called()
Callers
nothing calls this directly
Calls
1
Error
Method · 0.45
Tested by
no test coverage detected