(row: UnresolvedRefRow)
| 5034 | { keys: resolvedModules, column: 'reference_name', where: failedImports, ceiling: perModuleCeiling }, |
| 5035 | ]; |
| 5036 | const toReference = (row: UnresolvedRefRow): UnresolvedReference => ({ |
| 5037 | fromNodeId: row.from_node_id, |
| 5038 | referenceName: row.reference_name, |
| 5039 | referenceKind: row.reference_kind as EdgeKind, |
| 5040 | line: row.line, |
| 5041 | column: row.col, |
| 5042 | candidates: row.candidates ? safeJsonParse(row.candidates, undefined) : undefined, |
| 5043 | filePath: row.file_path, |
| 5044 | language: row.language as Language, |
| 5045 | rowId: row.id, |
| 5046 | }); |
| 5047 | const rows = new Map<number, UnresolvedRefRow>(); |
| 5048 | for (const { keys, column, where, ceiling, couldName } of lookups) { |
| 5049 | const unique = [...new Set(keys)].filter((key) => key.length > 0); |
nothing calls this directly
no test coverage detected