MCPcopy
hub / github.com/cli/cli / RemoveCalls

Method RemoveCalls

pkg/extensions/manager_mock.go:372–382  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

370//
371// len(mockedExtensionManager.RemoveCalls())
372func (mock *ExtensionManagerMock) RemoveCalls() []struct {
373 Name string
374} {
375 var calls []struct {
376 Name string
377 }
378 mock.lockRemove.RLock()
379 calls = mock.calls.Remove
380 mock.lockRemove.RUnlock()
381 return calls
382}
383
384// UpdateDir calls UpdateDirFunc.
385func (mock *ExtensionManagerMock) UpdateDir(name string) string {

Callers 1

TestNewCmdExtensionFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewCmdExtensionFunction · 0.76