Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ BaseRef
Method
BaseRef
pkg/cmd/pr/create/create.go:114–116 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
112
}
113
114
func
(r baseRefs) BaseRef() string {
115
return
r.baseBranchName
116
}
117
118
func
(r baseRefs) BaseRepo() *api.Repository {
119
return
r.baseRepo
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected