MCPcopy Create free account
hub / github.com/codehamr/codehamr / headTailBuffer

Struct headTailBuffer

internal/tools/bash.go:231–236  ·  view source on GitHub ↗

headTailBuffer is an io.Writer keeping the first bashOutputHead and the last bashOutputTail bytes written, discarding the middle. The tail is a fixed ring so a firehose costs a bounded copy, never an allocation per write.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected