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

Method UnqualifiedHeadRef

pkg/cmd/pr/create/create.go:99–99  ·  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

97 QualifiedHeadRef() string
98 // UnqualifiedHeadRef returns a head ref in the form of the branch name only.
99 UnqualifiedHeadRef() string
100 //BaseRef returns the base branch name.
101 BaseRef() string
102

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