Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wavetermdev/waveterm
/ HeadPos
Method
HeadPos
pkg/jobmanager/cirbuf.go:146–150 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
144
}
145
146
func
(cb *CirBuf) HeadPos() int64 {
147
cb.lock.Lock()
148
defer
cb.lock.Unlock()
149
return
cb.totalSize - int64(cb.count)
150
}
151
152
func
(cb *CirBuf) Size() int {
153
cb.lock.Lock()
Callers
3
ClientConnected
Method · 0.80
RecvAck
Method · 0.80
prepareNextPacket
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected