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

Method UpdateDirCalls

pkg/extensions/manager_mock.go:404–414  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

402//
403// len(mockedExtensionManager.UpdateDirCalls())
404func (mock *ExtensionManagerMock) UpdateDirCalls() []struct {
405 Name string
406} {
407 var calls []struct {
408 Name string
409 }
410 mock.lockUpdateDir.RLock()
411 calls = mock.calls.UpdateDir
412 mock.lockUpdateDir.RUnlock()
413 return calls
414}
415
416// Upgrade calls UpgradeFunc.
417func (mock *ExtensionManagerMock) Upgrade(name string, force bool) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected