Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wavetermdev/waveterm
/ setErr
Method
setErr
pkg/wshutil/wshcmdreader.go:52–59 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
(b *PtyBuffer) setErr(err error) {
53
b.CVar.L.Lock()
54
defer
b.CVar.L.Unlock()
55
if
b.Err == nil {
56
b.Err = err
57
}
58
b.CVar.Broadcast()
59
}
60
61
func
(b *PtyBuffer) setEOF() {
62
b.CVar.L.Lock()
Callers
1
run
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected