(filePath: string)
| 783 | |
| 784 | /** Code the repository carries rather than owns — see {@link VENDOR_SEGMENTS}. */ |
| 785 | export function isVendoredPath(filePath: string): boolean { |
| 786 | for (const segment of filePath.replace(/\\/g, '/').split('/')) { |
| 787 | if (VENDOR_SEGMENTS.has(segment.toLowerCase())) return true; |
| 788 | } |
| 789 | return false; |
| 790 | } |
| 791 | |
| 792 | /** A name the language calls by itself, so no source file could name it. */ |
| 793 | export function isImplicitEntryName(name: string): boolean { |
no test coverage detected