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

Method UnqualifiedHeadRef

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

Source from the content-addressed store, hash-verified

120}
121
122func (r skipPushRefs) UnqualifiedHeadRef() string {
123 return r.qualifiedHeadRef.BranchName()
124}
125
126// pushableRefs indicate to handlePush that pushing is required,
127// 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