(chunks: ImageEntry[])
| 76 | // { "value":3, "status":"unchanged"}, |
| 77 | // { "value":4, "status":"added"}] |
| 78 | function flattenChunks(chunks: ImageEntry[]): ImageDiff[] { |
| 79 | return mapcat(chunks, splitUpChunk); |
| 80 | } |
| 81 | |
| 82 | // Take two arrays and create a diff for them. The result is two arrays of |
| 83 | // objects, one for the things that should be included in a 'before', and one |
no test coverage detected