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

Method Owner

pkg/extensions/extension_mock.go:295–305  ·  view source on GitHub ↗

Owner calls OwnerFunc.

()

Source from the content-addressed store, hash-verified

293
294// Owner calls OwnerFunc.
295func (mock *ExtensionMock) Owner() string {
296 if mock.OwnerFunc == nil {
297 panic("ExtensionMock.OwnerFunc: method is nil but Extension.Owner was just called")
298 }
299 callInfo := struct {
300 }{}
301 mock.lockOwner.Lock()
302 mock.calls.Owner = append(mock.calls.Owner, callInfo)
303 mock.lockOwner.Unlock()
304 return mock.OwnerFunc()
305}
306
307// OwnerCalls gets all the calls that were made to Owner.
308// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected