MCPcopy Create free account
hub / github.com/docker/compose / Event

Method Event

cmd/display/plain.go:41–47  ·  view source on GitHub ↗
(e api.Resource)

Source from the content-addressed store, hash-verified

39}
40
41func (p *plainWriter) Event(e api.Resource) {
42 prefix := ""
43 if p.dryRun {
44 prefix = DRYRUN_PREFIX
45 }
46 _, _ = fmt.Fprintln(p.out, prefix, e.ID, e.Text, e.Details)
47}
48
49func (p *plainWriter) On(events ...api.Resource) {
50 for _, e := range events {

Callers 1

OnMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected