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

Method Worktrees

pkg/cmd/repo/sync/git.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (g *gitExecuter) Worktrees() ([]git.Worktree, error) {
39 return g.client.Worktrees(context.Background())
40}
41
42func (g *gitExecuter) CreateBranch(branch, ref, upstream string) error {
43 ctx := context.Background()

Callers

nothing calls this directly

Calls 1

WorktreesMethod · 0.65

Tested by

no test coverage detected