(commit: StreamCommit)
| 28 | } |
| 29 | |
| 30 | export function entryGroupKey(commit: StreamCommit): string | undefined { |
| 31 | if (!commit.partID) { |
| 32 | return undefined |
| 33 | } |
| 34 | |
| 35 | if (toolStructuredFinal(commit)) { |
| 36 | return `tool:${commit.partID}:final` |
| 37 | } |
| 38 | |
| 39 | return `${commit.kind}:${commit.partID}` |
| 40 | } |
| 41 | |
| 42 | export function sameEntryGroup(left: StreamCommit | undefined, right: StreamCommit): boolean { |
| 43 | if (!left) { |
no test coverage detected