MCPcopy Index your code
hub / github.com/cli/cli / UnqualifiedHeadRef

Method UnqualifiedHeadRef

pkg/cmd/pr/shared/find_refs_resolution.go:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (r PRFindRefs) UnqualifiedHeadRef() string {
101 return r.qualifiedHeadRef.BranchName()
102}
103
104// Matches checks whether the provided baseBranchName and headRef match the refs.
105// It is used to determine whether Pull Requests returned from the API

Callers 1

TestPRFindRefsFunction · 0.95

Calls 1

BranchNameMethod · 0.80

Tested by 1

TestPRFindRefsFunction · 0.76