pub fn unit_fingerprint(
variant: &BuildVariant,
file: &FileContext<'_>,
tokens: &[Token],
norm: ContentNorm,
) -> UnitFingerprintExpand description
Fingerprint a whole unit’s token stream.
The rename scope of a normalized unit fingerprint is the unit itself, so the digest depends only on the unit’s own content.