pub struct SuppressionInventoryOutput {
pub schema_version: SuppressionInventorySchemaVersion,
pub request_outcomes: Option<RequestOutcomes>,
pub summary: SuppressionInventorySummary,
pub files: Vec<SuppressionInventoryFile>,
}Expand description
The fallow suppressions --format json envelope. FallowOutput
discriminates it by the kind: "suppression-inventory" tag.
A read-only projection over the suppression markers present in analyzed files this run: nothing here is a finding, and the command that emits it always exits 0.
Fields§
§schema_version: SuppressionInventorySchemaVersionSchema version of this envelope.
request_outcomes: Option<RequestOutcomes>What the run was asked to narrow and whether it did. See
crate::RequestOutcomes for the full contract.
fallow suppressions accepts --changed-since, and an unresolvable ref
widens the inventory to the whole project rather than failing the run.
Until this member existed the only account of that was a stderr line,
which --quiet removes, so an inventory read as scoped to the change
could silently be the whole project’s (issue #2734).
The command applies no diff filter, so the object carries the
changed-since entry only. Omitted when the run was asked for nothing,
which keeps an inventory that passed no narrowing flag byte-identical and
leaves schema_version at 1.
summary: SuppressionInventorySummaryProject-level totals over the scoped inventory.
files: Vec<SuppressionInventoryFile>Per-file suppression listings, sorted by path then line.