Skip to main content

fingerprint

Function fingerprint 

Source
pub fn fingerprint(bytes: &[u8]) -> String
Expand description

A 64-bit FNV-1a hash, as lowercase hex: a stable fingerprint of tak.toml for FailedCommits’s measurement key. Not std’s Hasher, whose output is allowed to change between Rust releases, which would forget every remembered failure on a toolchain upgrade.