( prev: StreamCommit | undefined, next: StreamCommit, body: RunEntryBody = entryBody(next), )
| 79 | } |
| 80 | |
| 81 | export function separatorRows( |
| 82 | prev: StreamCommit | undefined, |
| 83 | next: StreamCommit, |
| 84 | body: RunEntryBody = entryBody(next), |
| 85 | ): number { |
| 86 | if (!prev || sameEntryGroup(prev, next)) { |
| 87 | return 0 |
| 88 | } |
| 89 | |
| 90 | if (entryLayout(prev) === "inline" && entryLayout(next, body) === "inline") { |
| 91 | return 0 |
| 92 | } |
| 93 | |
| 94 | return 1 |
| 95 | } |
| 96 | |
| 97 | export function RunEntryContent(props: { |
| 98 | commit: StreamCommit |
no test coverage detected