MCPcopy
hub / github.com/cli/cli / InstallCalls

Method InstallCalls

pkg/extensions/manager_mock.go:279–291  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

277//
278// len(mockedExtensionManager.InstallCalls())
279func (mock *ExtensionManagerMock) InstallCalls() []struct {
280 InterfaceMoqParam ghrepo.Interface
281 S string
282} {
283 var calls []struct {
284 InterfaceMoqParam ghrepo.Interface
285 S string
286 }
287 mock.lockInstall.RLock()
288 calls = mock.calls.Install
289 mock.lockInstall.RUnlock()
290 return calls
291}
292
293// InstallLocal calls InstallLocalFunc.
294func (mock *ExtensionManagerMock) InstallLocal(dir string) error {

Callers 2

TestNewCmdExtensionFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestNewCmdExtensionFunction · 0.76