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

Method BaseRef

pkg/cmd/pr/create/create.go:95–95  ·  view source on GitHub ↗

BaseRef returns the base branch name.

()

Source from the content-addressed store, hash-verified

93 UnqualifiedHeadRef() string
94 //BaseRef returns the base branch name.
95 BaseRef() string
96
97 // While the only thing really required from an api.Repository is the repository ID, changing that
98 // would require changing the API function signatures, and the refactor that introduced this refs

Callers 5

isSameRefFunction · 0.65
createRunFunction · 0.65
NewCreateContextFunction · 0.65
submitPRFunction · 0.65
generateCompareURLFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected