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

Method Export

pkg/compose/export.go:32–36  ·  pkg/compose/export.go::composeService.Export
(ctx context.Context, projectName string, options api.ExportOptions)

Source from the content-addressed store, hash-verified

30)
31
32func (s *composeService) Export(ctx context.Context, projectName string, options api.ExportOptions) error {
33 return Run(ctx, func(ctx context.Context) error {
34 return s.export(ctx, projectName, options)
35 }, "export", s.events)
36}
37
38func (s *composeService) export(ctx context.Context, projectName string, options api.ExportOptions) error {
39 projectName = strings.ToLower(projectName)

Callers

nothing calls this directly

Calls 2

exportMethod · 0.95
RunFunction · 0.85

Tested by

no test coverage detected