({ filePath, line, name }: SourceEvidenceTarget)
| 4503 | ? node.qualified_name === inspector.symbol.qualifiedName |
| 4504 | : node.file_path === inspector.filePath && (node.label === 'File' || node.label === 'Module')); |
| 4505 | const exploreEvidence = ({ filePath, line, name }: SourceEvidenceTarget): void => { |
| 4506 | setSourceEvidence(undefined); |
| 4507 | changeWorkspace('explore'); |
| 4508 | setPinnedCode(undefined); |
| 4509 | const target = twinTargetOf({ filePath, startLine: line, name: name ?? filePath, kind: 'unknown' }); |
| 4510 | if (target) followTarget(target); |
| 4511 | }; |
| 4512 | const navigateEvidence = (filePath: string, line?: number, name?: string): void => { |
| 4513 | setSourceEvidence({ project, target: { filePath, line, name } }); |
| 4514 | }; |
no test coverage detected