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

Method UnqualifiedHeadRef

pkg/cmd/pr/create/create.go:177–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177func (r forkableRefs) UnqualifiedHeadRef() string {
178 return r.qualifiedHeadRef.BranchName()
179}
180
181// isSameRef checks if the head and base refs point to the same ref in the same repository.
182// For cross-repository PRs (e.g., from a fork), the qualified head ref will contain

Callers

nothing calls this directly

Calls 1

BranchNameMethod · 0.80

Tested by

no test coverage detected