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

Method Watch

pkg/compose/watch.go:133–139  ·  view source on GitHub ↗
(ctx context.Context, project *types.Project, options api.WatchOptions)

Source from the content-addressed store, hash-verified

131}
132
133func (s *composeService) Watch(ctx context.Context, project *types.Project, options api.WatchOptions) error {
134 wait, err := s.watch(ctx, project, options)
135 if err != nil {
136 return err
137 }
138 return wait()
139}
140
141type watchRule struct {
142 types.Trigger

Callers

nothing calls this directly

Calls 1

watchMethod · 0.95

Tested by

no test coverage detected