(chunk: ImageEntry)
| 32 | // Turn a chunk (which contains an array of values and a status) |
| 33 | // into an array of values, each with the same status |
| 34 | function splitUpChunk(chunk: ImageEntry): ImageDiff[] { |
| 35 | return chunk.value.map((value) => { |
| 36 | return { |
| 37 | value: value, |
| 38 | status: statusFor(chunk), |
| 39 | }; |
| 40 | }); |
| 41 | } |
| 42 | |
| 43 | // Apply `fn` to every element in `lst` and then concatenate all the results |
| 44 | // http://clojuredocs.org/clojure_core/clojure.core/mapcat |
nothing calls this directly
no test coverage detected