()
| 223 | } |
| 224 | |
| 225 | func readInputBytes() []byte { |
| 226 | in := bufio.NewReader(os.Stdin) |
| 227 | b := make([]byte, 0) |
| 228 | for { |
| 229 | c, err := in.ReadByte() |
| 230 | if err == io.EOF { |
| 231 | break |
| 232 | } |
| 233 | b = append(b, c) |
| 234 | } |
| 235 | return b |
| 236 | } |
| 237 | |
| 238 | func runChunkWrite(cmd *cobra.Command, args []string) { |
| 239 | setupLogger() |
no outgoing calls
no test coverage detected