Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ String
Method
String
testutil/wait_buffer.go:113–117 ·
view source on GitHub ↗
String returns the accumulated output as a string.
()
Source
from the content-addressed store, hash-verified
111
112
// String returns the accumulated output as a string.
113
func
(wb *WaitBuffer) String() string {
114
wb.mu.Lock()
115
defer
wb.mu.Unlock()
116
return
wb.buf.String()
117
}
Callers
6
TestAgentScript
Function · 0.95
TestWaitBuffer_Bytes_ReturnsCopy
Function · 0.95
TestWaitBuffer_PlainBuffer
Function · 0.95
RequireWaitFor
Method · 0.95
Write
Method · 0.45
WaitForCond
Method · 0.45
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
3
TestAgentScript
Function · 0.76
TestWaitBuffer_Bytes_ReturnsCopy
Function · 0.76
TestWaitBuffer_PlainBuffer
Function · 0.76