MCPcopy Create free account
hub / github.com/cli/cli / Worktrees

Method Worktrees

pkg/cmd/repo/sync/mocks.go:17–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (g *mockGitClient) Worktrees() ([]git.Worktree, error) {
18 args := g.Called()
19 return args.Get(0).([]git.Worktree), args.Error(1)
20}
21
22func (g *mockGitClient) CreateBranch(b, r, u string) error {
23 args := g.Called(b, r, u)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected