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

Method RenderCalls

pkg/cmd/agent-task/shared/log_mock.go:130–144  ·  view source on GitHub ↗

RenderCalls gets all the calls that were made to Render. Check the length with: len(mockedLogRenderer.RenderCalls())

()

Source from the content-addressed store, hash-verified

128//
129// len(mockedLogRenderer.RenderCalls())
130func (mock *LogRendererMock) RenderCalls() []struct {
131 Logs []byte
132 W io.Writer
133 IoMoqParam *iostreams.IOStreams
134} {
135 var calls []struct {
136 Logs []byte
137 W io.Writer
138 IoMoqParam *iostreams.IOStreams
139 }
140 mock.lockRender.RLock()
141 calls = mock.calls.Render
142 mock.lockRender.RUnlock()
143 return calls
144}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected