Skip to main content

Module publish

Module publish 

Source
Expand description

v0.24 (ADR 0052): the project-wide publish plan — a pure function so the clear semantics are unit-tested without an LSP transport (the JSON-RPC harness is deferred to the first interactive feature; recorded in the v0.24 proposal).

Functions§

publish_plan
Compute the publishes for one analysis round: every URI with new diagnostics, plus an empty publish for every URI that carried diagnostics last round and no longer does (the clear). Returns the publish list and the next round’s dirty set.