MCPcopy Create free account
hub / github.com/arctic-cli/interface / diagnostics

Function diagnostics

packages/arctic/src/lsp/index.ts:258–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256 }
257
258 export async function diagnostics() {
259 const results: Record<string, LSPClient.Diagnostic[]> = {}
260 for (const result of await run(async (client) => client.diagnostics)) {
261 for (const [path, diagnostics] of result.entries()) {
262 const arr = results[path] || []
263 arr.push(...diagnostics)
264 results[path] = arr
265 }
266 }
267 return results
268 }
269
270 export async function hover(input: { file: string; line: number; character: number }) {
271 return run((client) => {

Callers 1

renderFunction · 0.50

Calls 2

pushMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected