MCPcopy 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
79func (mc *mockConnection) ReadString() string {
80 mc.mu.Lock()
81 defer mc.mu.Unlock()
82 return mc.writeBuffer.String()
83}
84
85func (mc *mockConnection) SetReadError(err error) {
86 mc.mu.Lock()

Calls 3

LockMethod · 0.45
UnlockMethod · 0.45
StringMethod · 0.45

Tested by

no test coverage detected