Skip to main content

Module render

Module render 

Source
Expand description

Rendering of a CoverageDiff to markdown, YAML, or JSON.

The markdown renderer reproduces the PR comment that the retired scripts/coverage-comment.sh shell renderer produced — same ## Coverage header, total line with 🟢/🔴 direction, merge-base→head Comparing line, the EPS-filtered per-file before/after/Δ table, and the artifact footer — plus a ### Patch coverage section (the headline metric the aggregate comment could never show) and an indirect-changes section. CI renders this comment via omni-dev coverage diff --format markdown (see .github/workflows/ci.yml).

Structs§

RenderOptions
Decoration inputs and options for rendering.

Enums§

OutputFormat
Output serialisation for coverage diff.

Functions§

render
Renders diff in the requested format.