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

Method URL

pkg/extensions/extension_mock.go:349–359  ·  view source on GitHub ↗

URL calls URLFunc.

()

Source from the content-addressed store, hash-verified

347
348// URL calls URLFunc.
349func (mock *ExtensionMock) URL() string {
350 if mock.URLFunc == nil {
351 panic("ExtensionMock.URLFunc: method is nil but Extension.URL was just called")
352 }
353 callInfo := struct {
354 }{}
355 mock.lockURL.Lock()
356 mock.calls.URL = append(mock.calls.URL, callInfo)
357 mock.lockURL.Unlock()
358 return mock.URLFunc()
359}
360
361// URLCalls gets all the calls that were made to URL.
362// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected