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

Function newStdbuf

testutil/expecter/stdbuf.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func newStdbuf() *stdbuf {
22 return &stdbuf{more: make(chan struct{}, 1)}
23}
24
25func (b *stdbuf) ReadAll() []byte {
26 b.mu.Lock()

Callers 2

TestStdbufFunction · 0.70
NewFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestStdbufFunction · 0.56