MCPcopy
hub / github.com/cli/cli / UnqualifiedHeadRef

Method UnqualifiedHeadRef

pkg/cmd/pr/create/create.go:88–88  ·  view source on GitHub ↗

UnqualifiedHeadRef returns a head ref in the form of the branch name only.

()

Source from the content-addressed store, hash-verified

86 QualifiedHeadRef() string
87 // UnqualifiedHeadRef returns a head ref in the form of the branch name only.
88 UnqualifiedHeadRef() string
89 //BaseRef returns the base branch name.
90 BaseRef() string
91

Callers 5

findForRefsFunction · 0.65
isSameRefFunction · 0.65
createRunFunction · 0.65
initDefaultTitleBodyFunction · 0.65
handlePushFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected