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

Method UpdateAvailable

pkg/extensions/extension_mock.go:376–386  ·  view source on GitHub ↗

UpdateAvailable calls UpdateAvailableFunc.

()

Source from the content-addressed store, hash-verified

374
375// UpdateAvailable calls UpdateAvailableFunc.
376func (mock *ExtensionMock) UpdateAvailable() bool {
377 if mock.UpdateAvailableFunc == nil {
378 panic("ExtensionMock.UpdateAvailableFunc: method is nil but Extension.UpdateAvailable was just called")
379 }
380 callInfo := struct {
381 }{}
382 mock.lockUpdateAvailable.Lock()
383 mock.calls.UpdateAvailable = append(mock.calls.UpdateAvailable, callInfo)
384 mock.lockUpdateAvailable.Unlock()
385 return mock.UpdateAvailableFunc()
386}
387
388// UpdateAvailableCalls gets all the calls that were made to UpdateAvailable.
389// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected