MCPcopy 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
27func (g *mockGitClient) CurrentBranch() (string, error) {
28 args := g.Called()
29 return args.String(0), args.Error(1)
30}
31
32func (g *mockGitClient) Fetch(a, b string) error {
33 args := g.Called(a, b)

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected