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

Method BaseRepo

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

While the only thing really required from an api.Repository is the repository ID, changing that would require changing the API function signatures, and the refactor that introduced this refs type is already large enough.

()

Source from the content-addressed store, hash-verified

104 // would require changing the API function signatures, and the refactor that introduced this refs
105 // type is already large enough.
106 BaseRepo() *api.Repository
107}
108
109type baseRefs struct {

Callers 15

deleteRunFunction · 0.65
listRunFunction · 0.65
TestNewCmdViewFunction · 0.65
viewRunFunction · 0.65
listRunFunction · 0.65
commentRunFunction · 0.65
TestNewCmdCommentFunction · 0.65
TestNewCmdCreateFunction · 0.65
createRunFunction · 0.65
TestNewCmdEditFunction · 0.65
editRunFunction · 0.65
Test_BaseRepoFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestNewCmdViewFunction · 0.52
TestNewCmdCommentFunction · 0.52
TestNewCmdCreateFunction · 0.52
TestNewCmdEditFunction · 0.52
Test_BaseRepoFunction · 0.52
Test_SmartBaseRepoFunction · 0.52
Test_OverrideBaseRepoFunction · 0.52
TestNewCmdListFunction · 0.52
TestNewCmdCloseFunction · 0.52
TestNewCmdDevelopFunction · 0.52
TestNewCmdTransferFunction · 0.52
TestNewCmdDeleteFunction · 0.52