MCPcopy Index your code
hub / github.com/coder/coder / Bytes

Method Bytes

testutil/wait_buffer.go:106–110  ·  view source on GitHub ↗

Bytes returns a copy of the accumulated output.

()

Source from the content-addressed store, hash-verified

104
105// Bytes returns a copy of the accumulated output.
106func (wb *WaitBuffer) Bytes() []byte {
107 wb.mu.Lock()
108 defer wb.mu.Unlock()
109 return bytes.Clone(wb.buf.Bytes())
110}
111
112// String returns the accumulated output as a string.
113func (wb *WaitBuffer) String() string {

Callers 15

CreateTarFunction · 0.45
GenerateTLSCertificateFunction · 0.45
updateAuditDocFunction · 0.45
writeFailuresNDJSONFunction · 0.45
generateFunction · 0.45
generateCountriesFunction · 0.45
generateRbacObjectsFunction · 0.45
updatePrometheusDocFunction · 0.45
generateConstraintsFunction · 0.45

Calls 3

LockMethod · 0.45
UnlockMethod · 0.45
CloneMethod · 0.45

Tested by 15

TestDebugTemplateFunction · 0.36
sendConnectFunction · 0.36
TestServeCACertFunction · 0.36
TestSlogExporterFunction · 0.36
TestExternalWorkspacesFunction · 0.36
TestLicensesListFakeFunction · 0.36
TestGroupListFunction · 0.36