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 | |
| 32 | func (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 | |
| 38 | func (s *composeService) export(ctx context.Context, projectName string, options api.ExportOptions) error { |
| 39 | projectName = strings.ToLower(projectName) |
Callers
nothing calls this directly
Tested by
no test coverage detected