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

Method Pull

pkg/compose/pull.go:47–51  ·  pkg/compose/pull.go::composeService.Pull
(ctx context.Context, project *types.Project, options api.PullOptions)

Source from the content-addressed store, hash-verified

45)
46
47func (s *composeService) Pull(ctx context.Context, project *types.Project, options api.PullOptions) error {
48 return Run(ctx, func(ctx context.Context) error {
49 return s.pull(ctx, project, options)
50 }, "pull", s.events)
51}
52
53func (s *composeService) pull(ctx context.Context, project *types.Project, opts api.PullOptions) error { //nolint:gocyclo
54 images, err := s.getLocalImagesDigests(ctx, project)

Callers

nothing calls this directly

Calls 2

pullMethod · 0.95
RunFunction · 0.85

Tested by

no test coverage detected