Skip to main content

finding_hash

Function finding_hash 

Source
pub fn finding_hash(
    finding: &Finding,
    root: &Path,
    source: Option<&str>,
) -> String
Expand description

Stable identity hash of a finding.

source is the full content of the finding’s file, used for context lines; pass None when it cannot be read. Line and column numbers never take part in the hash.