(ctx context.Context, projectName string, options api.CopyOptions)
| 43 | ) |
| 44 | |
| 45 | func (s *composeService) Copy(ctx context.Context, projectName string, options api.CopyOptions) error { |
| 46 | return Run(ctx, func(ctx context.Context) error { |
| 47 | return s.copy(ctx, projectName, options) |
| 48 | }, "copy", s.events) |
| 49 | } |
| 50 | |
| 51 | func (s *composeService) copy(ctx context.Context, projectName string, options api.CopyOptions) error { |
| 52 | projectName = strings.ToLower(projectName) |