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

Method UnqualifiedHeadRef

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

Source from the content-addressed store, hash-verified

127}
128
129func (r skipPushRefs) UnqualifiedHeadRef() string {
130 return r.qualifiedHeadRef.BranchName()
131}
132
133// pushableRefs indicate to handlePush that pushing is required,
134// and provide further information (HeadRepo) on where that push

Callers

nothing calls this directly

Calls 1

BranchNameMethod · 0.80

Tested by

no test coverage detected