(ctx context.Context, id string, archive io.ReadCloser)
| 521 | } |
| 522 | |
| 523 | func (t tarDockerClient) Untar(ctx context.Context, id string, archive io.ReadCloser) error { |
| 524 | _, err := t.s.apiClient().CopyToContainer(ctx, id, client.CopyToContainerOptions{ |
| 525 | DestinationPath: "/", |
| 526 | Content: archive, |
| 527 | CopyUIDGID: true, |
| 528 | }) |
| 529 | return err |
| 530 | } |
| 531 | |
| 532 | //nolint:gocyclo |
| 533 | func (s *composeService) handleWatchBatch(ctx context.Context, project *types.Project, options api.WatchOptions, batch []watch.FileEvent, rules []watchRule, syncer sync.Syncer) error { |
nothing calls this directly
no test coverage detected