(row: UnresolvedRefRow)
| 5145 | { keys: resolvedModules, column: 'reference_name', where: failedImports, ceiling: perModuleCeiling }, |
| 5146 | ]; |
| 5147 | const toReference = (row: UnresolvedRefRow): UnresolvedReference => ({ |
| 5148 | fromNodeId: row.from_node_id, |
| 5149 | referenceName: row.reference_name, |
| 5150 | referenceKind: row.reference_kind as EdgeKind, |
| 5151 | line: row.line, |
| 5152 | column: row.col, |
| 5153 | candidates: row.candidates ? safeJsonParse(row.candidates, undefined) : undefined, |
| 5154 | filePath: row.file_path, |
| 5155 | language: row.language as Language, |
| 5156 | rowId: row.id, |
| 5157 | }); |
| 5158 | const rows = new Map<number, UnresolvedRefRow>(); |
| 5159 | for (const { keys, column, where, ceiling, couldName } of lookups) { |
| 5160 | const unique = [...new Set(keys)].filter((key) => key.length > 0); |
nothing calls this directly
no test coverage detected