MCPcopy
hub / github.com/go-task/task / WrapWriter

Method WrapWriter

internal/output/output.go:13–13  ·  view source on GitHub ↗
(stdOut, stdErr io.Writer, prefix string, cache *templater.Cache)

Source from the content-addressed store, hash-verified

11
12type Output interface {
13 WrapWriter(stdOut, stdErr io.Writer, prefix string, cache *templater.Cache) (io.Writer, io.Writer, CloseFunc)
14}
15
16type CloseFunc func(err error) error

Callers 8

TestInterleavedFunction · 0.95
TestGroupFunction · 0.95
TestGroupWithBeginEndFunction · 0.95
TestPrefixedFunction · 0.95
TestPrefixedWithColorFunction · 0.95
runCommandMethod · 0.65

Implementers 3

Groupinternal/output/group.go
Interleavedinternal/output/interleaved.go
Prefixedinternal/output/prefixed.go

Calls

no outgoing calls

Tested by 7

TestInterleavedFunction · 0.76
TestGroupFunction · 0.76
TestGroupWithBeginEndFunction · 0.76
TestPrefixedFunction · 0.76
TestPrefixedWithColorFunction · 0.76