(cmd *cobra.Command, args []string)
| 351 | } |
| 352 | |
| 353 | func runSampleRead(cmd *cobra.Command, args []string) { |
| 354 | setupLogger() |
| 355 | |
| 356 | ds := initDataShard() |
| 357 | |
| 358 | b, err := ds.ReadSample(*sampleIdx) |
| 359 | if err != nil { |
| 360 | log.Crit("Read failed", "error", err) |
| 361 | } |
| 362 | os.Stdout.Write(b.Bytes()) |
| 363 | } |
| 364 | |
| 365 | func runWriteBlob(cmd *cobra.Command, args []string) { |
| 366 | setupLogger() |
nothing calls this directly
no test coverage detected