Method
Copy
pkg/compose/cp.go:45–49
· pkg/compose/cp.go::composeService.Copy
(ctx context.Context, projectName string, options api.CopyOptions)
Source from the content-addressed store, hash-verified
| 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) |
Callers
nothing calls this directly
Tested by
no test coverage detected