MCPcopy Index your code
hub / github.com/cli/cli / LatestVersion

Method LatestVersion

pkg/extensions/extension_mock.go:241–251  ·  view source on GitHub ↗

LatestVersion calls LatestVersionFunc.

()

Source from the content-addressed store, hash-verified

239
240// LatestVersion calls LatestVersionFunc.
241func (mock *ExtensionMock) LatestVersion() string {
242 if mock.LatestVersionFunc == nil {
243 panic("ExtensionMock.LatestVersionFunc: method is nil but Extension.LatestVersion was just called")
244 }
245 callInfo := struct {
246 }{}
247 mock.lockLatestVersion.Lock()
248 mock.calls.LatestVersion = append(mock.calls.LatestVersion, callInfo)
249 mock.lockLatestVersion.Unlock()
250 return mock.LatestVersionFunc()
251}
252
253// LatestVersionCalls gets all the calls that were made to LatestVersion.
254// Check the length with:

Callers 1

Calls

no outgoing calls

Tested by 1