(streams chan io.ReadCloser, errs chan error)
| 102 | } |
| 103 | |
| 104 | func readNextStream(streams chan io.ReadCloser, errs chan error) ([]byte, error) { |
| 105 | select { |
| 106 | case r := <-streams: |
| 107 | if r == nil { |
| 108 | return nil, nil |
| 109 | } |
| 110 | defer r.Close() |
| 111 | return io.ReadAll(r) |
| 112 | case err := <-errs: |
| 113 | return nil, err |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | type verifyGetBlobAtData struct { |
| 118 | expectedData []byte |
no test coverage detected
searching dependent graphs…