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

Method IsPinned

pkg/extensions/extension_mock.go:214–224  ·  view source on GitHub ↗

IsPinned calls IsPinnedFunc.

()

Source from the content-addressed store, hash-verified

212
213// IsPinned calls IsPinnedFunc.
214func (mock *ExtensionMock) IsPinned() bool {
215 if mock.IsPinnedFunc == nil {
216 panic("ExtensionMock.IsPinnedFunc: method is nil but Extension.IsPinned was just called")
217 }
218 callInfo := struct {
219 }{}
220 mock.lockIsPinned.Lock()
221 mock.calls.IsPinned = append(mock.calls.IsPinned, callInfo)
222 mock.lockIsPinned.Unlock()
223 return mock.IsPinnedFunc()
224}
225
226// IsPinnedCalls gets all the calls that were made to IsPinned.
227// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected