MCPcopy Index your code
hub / github.com/dagger/dagger / newTerminalWriter

Function newTerminalWriter

cmd/dagger/shell.go:672–676  ·  view source on GitHub ↗
(fn func([]byte) (int, error))

Source from the content-addressed store, hash-verified

670}
671
672func newTerminalWriter(fn func([]byte) (int, error)) *terminalWriter {
673 return &terminalWriter{
674 fn: fn,
675 }
676}
677
678// terminalWriter is a custom io.Writer that synchronously calls the handler's
679// withTerminal on each write from the runner

Callers 2

runMethod · 0.85
HandleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected