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

Method CurrentBranch

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

Source from the content-addressed store, hash-verified

8
9type gitClient interface {
10 CurrentBranch() (string, error)
11 UpdateBranch(string, string) error
12 Worktrees() ([]git.Worktree, error)
13 CreateBranch(string, string, string) error

Callers 6

branchFuncFunction · 0.65
checkRunFunction · 0.65
CurrentBranchMethod · 0.65
executeLocalRepoSyncFunction · 0.65
runPublishReleaseFunction · 0.65
ensurePushedFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected