(from: { name: string; filePath?: string }, to: { name: string; filePath?: string })
| 201 | |
| 202 | /** How one call is identified. Ordered, always, because a call has a direction. */ |
| 203 | export function edgeKey(from: { name: string; filePath?: string }, to: { name: string; filePath?: string }): string { |
| 204 | return `${nodeKey(from)}->${nodeKey(to)}`; |
| 205 | } |
| 206 | |
| 207 | /** Ordinal comparison, never `localeCompare`: two machines must agree. */ |
| 208 | function compareText(a: string, b: string): number { |
no test coverage detected