(filePath: string)
| 308 | } |
| 309 | |
| 310 | function normalizeGraphPath(filePath: string): string { |
| 311 | const normalized = filePath.replace(/\\/g, '/'); |
| 312 | if (path.isAbsolute(filePath)) { |
| 313 | const rel = path.relative(ctx.rootPath, filePath).replace(/\\/g, '/'); |
| 314 | if (rel && !rel.startsWith('..')) { |
| 315 | return rel; |
| 316 | } |
| 317 | } |
| 318 | return normalized.replace(/^\.\//, ''); |
| 319 | } |
| 320 | |
| 321 | function normalizeSymbolName(value: string): string { |
| 322 | return value.trim().toLowerCase(); |
no outgoing calls
no test coverage detected