Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ ReadString
Method
ReadString
agent/immortalstreams/backedpipe/backed_pipe_test.go:79–83 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
}
78
79
func
(mc *mockConnection) ReadString() string {
80
mc.mu.Lock()
81
defer
mc.mu.Unlock()
82
return
mc.writeBuffer.String()
83
}
84
85
func
(mc *mockConnection) SetReadError(err error) {
86
mc.mu.Lock()
Callers
8
TestInMemoryRoundTripper_Streams
Function · 0.80
ServerSentEventReader
Function · 0.80
summarize
Function · 0.80
TestBackedPipe_WriteBeforeConnect
Function · 0.80
TestBackedPipe_Reconnection
Function · 0.80
TestBackedPipe_ForceReconnect
Function · 0.80
TestBackedPipe_ForceReconnectWhenDisconnected
Function · 0.80
TestBackedPipe_EOFTriggersReconnection
Function · 0.80
Calls
3
Lock
Method · 0.45
Unlock
Method · 0.45
String
Method · 0.45
Tested by
no test coverage detected