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

Method List

pkg/extensions/manager_mock.go:326–336  ·  view source on GitHub ↗

List calls ListFunc.

()

Source from the content-addressed store, hash-verified

324
325// List calls ListFunc.
326func (mock *ExtensionManagerMock) List() []Extension {
327 if mock.ListFunc == nil {
328 panic("ExtensionManagerMock.ListFunc: method is nil but ExtensionManager.List was just called")
329 }
330 callInfo := struct {
331 }{}
332 mock.lockList.Lock()
333 mock.calls.List = append(mock.calls.List, callInfo)
334 mock.lockList.Unlock()
335 return mock.ListFunc()
336}
337
338// ListCalls gets all the calls that were made to List.
339// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected