Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ newStdbuf
Function
newStdbuf
pty/ptytest/ptytest.go:478–480 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
476
}
477
478
func
newStdbuf() *stdbuf {
479
return
&stdbuf{more: make(
chan
struct
{}, 1)}
480
}
481
482
func
(b *stdbuf) ReadAll() []byte {
483
b.mu.Lock()
Callers
2
TestStdbuf
Function · 0.70
newExpecter
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestStdbuf
Function · 0.56