(fileDiff: FileDiffMetadata)
| 133 | } |
| 134 | |
| 135 | export function buildFileDiffRenderKey(fileDiff: FileDiffMetadata): string { |
| 136 | return fileDiff.cacheKey ?? `${fileDiff.prevName ?? "none"}:${fileDiff.name}`; |
| 137 | } |
| 138 | |
| 139 | export function getDiffCollapseIconClassName(fileDiff: FileDiffMetadata): string { |
| 140 | switch (fileDiff.type) { |