(filePair: FilePair)
| 48 | |
| 49 | /** Checks whether the diff is one-sided, i.e. an add or delete. */ |
| 50 | export function isOneSided(filePair: FilePair) { |
| 51 | return filePair.type == 'add' || filePair.type == 'delete'; |
| 52 | } |
| 53 | |
| 54 | /** Determines whether the before & after images are the same size. */ |
| 55 | export function isSameSizeImagePair(filePair: FilePair) { |
no outgoing calls
no test coverage detected