(filePath: string)
| 175 | } |
| 176 | |
| 177 | async function toUri(filePath: string): Promise<string> { |
| 178 | try { |
| 179 | const rawPath = filePath.startsWith('file://') ? fileURLToPath(filePath) : filePath; |
| 180 | return URI.file(await normalizePath(rawPath)).toString(); |
| 181 | } catch { |
| 182 | return filePath; |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | class LspClient { |
| 187 | private currentVersion = 0; |
no test coverage detected