Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
func
(g *mockGitClient) UpdateBranch(b, r string) error {
13
args := g.Called(b, r)
14
return
args.Error(0)
15
}
16
17
func
(g *mockGitClient) Worktrees() ([]git.Worktree, error) {
18
args := g.Called()
Callers
nothing calls this directly
Calls
1
Error
Method · 0.45
Tested by
no test coverage detected