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

Method IsBinary

pkg/extensions/extension_mock.go:160–170  ·  view source on GitHub ↗

IsBinary calls IsBinaryFunc.

()

Source from the content-addressed store, hash-verified

158
159// IsBinary calls IsBinaryFunc.
160func (mock *ExtensionMock) IsBinary() bool {
161 if mock.IsBinaryFunc == nil {
162 panic("ExtensionMock.IsBinaryFunc: method is nil but Extension.IsBinary was just called")
163 }
164 callInfo := struct {
165 }{}
166 mock.lockIsBinary.Lock()
167 mock.calls.IsBinary = append(mock.calls.IsBinary, callInfo)
168 mock.lockIsBinary.Unlock()
169 return mock.IsBinaryFunc()
170}
171
172// IsBinaryCalls gets all the calls that were made to IsBinary.
173// Check the length with:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected