Skip to main content

VulnerabilityMap

Type Alias VulnerabilityMap 

Source
pub type VulnerabilityMap = HashMap<String, ScanOutcome>;
Expand description

Per-scan result map.

Normally keyed by the normalized dependency name (EcosystemFormatter::normalize_package_name — the same key crate::lsp_helpers::generate_diagnostics_from_cache and crate::lsp_helpers::generate_hover already use to look up cached/resolved versions), but see vulnerability_keys for the version-qualified form a duplicated dependency name’s occurrences use.

Aliased Type§

pub struct VulnerabilityMap { /* private fields */ }