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

Method CreateCalls

pkg/extensions/manager_mock.go:172–184  ·  view source on GitHub ↗

CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedExtensionManager.CreateCalls())

()

Source from the content-addressed store, hash-verified

170//
171// len(mockedExtensionManager.CreateCalls())
172func (mock *ExtensionManagerMock) CreateCalls() []struct {
173 Name string
174 TmplType ExtTemplateType
175} {
176 var calls []struct {
177 Name string
178 TmplType ExtTemplateType
179 }
180 mock.lockCreate.RLock()
181 calls = mock.calls.Create
182 mock.lockCreate.RUnlock()
183 return calls
184}
185
186// Dispatch calls DispatchFunc.
187func (mock *ExtensionManagerMock) Dispatch(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) (bool, error) {

Callers 1

TestNewCmdExtensionFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewCmdExtensionFunction · 0.76