Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Write
Method
Write
aibridge/intercept/responses/base.go:460–464 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
458
}
459
460
func
(d *deltaBuffer) Write(p []byte) (int, error) {
461
d.mu.Lock()
462
defer
d.mu.Unlock()
463
return
d.buf.Write(p)
464
}
465
466
// readDelta returns only the bytes appended
467
// after the last readDelta call.
Callers
nothing calls this directly
Calls
3
Write
Method · 0.65
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected