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

Method OpenStreamCalls

pkg/cmd/event/client/client_mock.go:276–288  ·  view source on GitHub ↗

OpenStreamCalls gets all the calls that were made to OpenStream. Check the length with: len(mockedEventClient.OpenStreamCalls())

()

Source from the content-addressed store, hash-verified

274//
275// len(mockedEventClient.OpenStreamCalls())
276func (mock *EventClientMock) OpenStreamCalls() []struct {
277 Ctx context.Context
278 ID string
279} {
280 var calls []struct {
281 Ctx context.Context
282 ID string
283 }
284 mock.lockOpenStream.RLock()
285 calls = mock.calls.OpenStream
286 mock.lockOpenStream.RUnlock()
287 return calls
288}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected