Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/wavetermdev/waveterm
/ setDone
Method
setDone
pkg/utilds/readerlinebuffer.go:49–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(rlb *ReaderLineBuffer) setDone() {
50
rlb.lock.Lock()
51
defer
rlb.lock.Unlock()
52
rlb.done = true
53
}
54
55
func
(rlb *ReaderLineBuffer) ReadLine() (string, error) {
56
if
rlb.IsDone() {
Callers
1
ReadLine
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected