(ctx context.Context, client *storage.S3, url *url.URL)
| 149 | } |
| 150 | |
| 151 | func (c Cat) processSingleObject(ctx context.Context, client *storage.S3, url *url.URL) error { |
| 152 | buf := orderedwriter.New(os.Stdout) |
| 153 | _, err := client.Get(ctx, url, buf, c.concurrency, c.partSize) |
| 154 | return err |
| 155 | } |
| 156 | |
| 157 | func validateCatCommand(c *cli.Context) error { |
| 158 | if c.Args().Len() != 1 { |
no test coverage detected