MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / needsRefresh

Function needsRefresh

src/cm/lsp/diagnostics.ts:292–296  ·  view source on GitHub ↗
(update)

Source from the content-addressed store, hash-verified

290 lspPublishedDiagnostics,
291 linter(lspLinterSource, {
292 needsRefresh(update) {
293 return update.transactions.some((tr) =>
294 tr.effects.some((effect) => effect.is(setPublishedDiagnostics)),
295 );
296 },
297 markerFilter: diagnosticsMarkerFilter,
298 tooltipFilter: diagnosticsTooltipFilter,
299 // keep panel closed by default

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected