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

Method Path

pkg/extensions/extension_mock.go:322–332  ·  view source on GitHub ↗

Path calls PathFunc.

()

Source from the content-addressed store, hash-verified

320
321// Path calls PathFunc.
322func (mock *ExtensionMock) Path() string {
323 if mock.PathFunc == nil {
324 panic("ExtensionMock.PathFunc: method is nil but Extension.Path was just called")
325 }
326 callInfo := struct {
327 }{}
328 mock.lockPath.Lock()
329 mock.calls.Path = append(mock.calls.Path, callInfo)
330 mock.lockPath.Unlock()
331 return mock.PathFunc()
332}
333
334// PathCalls gets all the calls that were made to Path.
335// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected