Expand description
Persisted coverage baselines.
A Baseline captures the three headline percentages
(line_pct, function_pct, region_pct) for a single subject so
the next run can diff against it. Baselines are stored under a
caller-chosen scope — typically a git SHA, a branch name, or the
literal "latest" — via any BaselineStore implementation.
JsonFileBaselineStore is the default file-system backend. It
writes one JSON file per (scope, name) pair using write-temp-rename
semantics so partial writes never corrupt a comparison.
Structs§
- Baseline
- Persisted coverage baseline for a single subject.
- Json
File Baseline Store - Filesystem-backed JSON baseline store.
Traits§
- Baseline
Store - Storage backend for
Baselinevalues.