MCPcopy
hub / github.com/docker/compose / Full

Function Full

cmd/display/tty.go:40–49  ·  view source on GitHub ↗

Full creates an EventProcessor that render advanced UI within a terminal. On Start, TUI lists task with a progress timer

(out io.Writer, info io.Writer, detached bool)

Source from the content-addressed store, hash-verified

38// Full creates an EventProcessor that render advanced UI within a terminal.
39// On Start, TUI lists task with a progress timer
40func Full(out io.Writer, info io.Writer, detached bool) api.EventProcessor {
41 return &ttyWriter{
42 out: out,
43 info: info,
44 tasks: map[string]*task{},
45 done: make(chan bool),
46 mtx: &sync.Mutex{},
47 detached: detached,
48 }
49}
50
51type ttyWriter struct {
52 out io.Writer

Callers 1

selectEventProcessorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected