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

Method UnqualifiedHeadRef

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

Source from the content-addressed store, hash-verified

125}
126
127func (r skipPushRefs) UnqualifiedHeadRef() string {
128 return r.qualifiedHeadRef.BranchName()
129}
130
131// pushableRefs indicate to handlePush that pushing is required,
132// 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