(raw: string | undefined | null)
| 29 | export function deriveProjectNameTokens(projectRoot: string): Set<string> { |
| 30 | const tokens = new Set<string>(); |
| 31 | const add = (raw: string | undefined | null): void => { |
| 32 | if (!raw) return; |
| 33 | const norm = normalizeNameToken(raw); |
| 34 | if (norm.length >= 5) tokens.add(norm); |
| 35 | }; |
| 36 | |
| 37 | // go.mod module last segment (the most reliable signal for Go repos). |
| 38 | try { |
no test coverage detected