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

Method Worktrees

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

Source from the content-addressed store, hash-verified

10 CurrentBranch() (string, error)
11 UpdateBranch(string, string) error
12 Worktrees() ([]git.Worktree, error)
13 CreateBranch(string, string, string) error
14 Fetch(string, string) error
15 HasLocalBranch(string) bool

Callers 3

WorktreesMethod · 0.65
executeLocalRepoSyncFunction · 0.65
deleteLocalBranchMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected