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