MCPcopy 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
460func (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

WriteMethod · 0.65
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected