MCPcopy Index your code
hub / github.com/cli/cli / BaseRef

Method BaseRef

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

BaseRef returns the base branch name.

()

Source from the content-addressed store, hash-verified

88 UnqualifiedHeadRef() string
89 //BaseRef returns the base branch name.
90 BaseRef() string
91
92 // While the only thing really required from an api.Repository is the repository ID, changing that
93 // 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