(map: Map<string, V> | undefined)
| 826 | export function workspaceFingerprint(ws: WorkspacePackages | null): string { |
| 827 | if (!ws) return 'none'; |
| 828 | const sorted = <V>(map: Map<string, V> | undefined): Array<[string, V]> => |
| 829 | map ? [...map.entries()].sort(([a], [b]) => (a < b ? -1 : a > b ? 1 : 0)) : []; |
| 830 | const canonical = JSON.stringify({ |
| 831 | byName: sorted(ws.byName), |
| 832 | entryByName: sorted(ws.entryByName), |
no outgoing calls
no test coverage detected