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

Method IsPinnedCalls

pkg/extensions/extension_mock.go:230–238  ·  view source on GitHub ↗

IsPinnedCalls gets all the calls that were made to IsPinned. Check the length with: len(mockedExtension.IsPinnedCalls())

()

Source from the content-addressed store, hash-verified

228//
229// len(mockedExtension.IsPinnedCalls())
230func (mock *ExtensionMock) IsPinnedCalls() []struct {
231} {
232 var calls []struct {
233 }
234 mock.lockIsPinned.RLock()
235 calls = mock.calls.IsPinned
236 mock.lockIsPinned.RUnlock()
237 return calls
238}
239
240// LatestVersion calls LatestVersionFunc.
241func (mock *ExtensionMock) LatestVersion() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected