Skip to main content

common_dir_hash

Function common_dir_hash 

Source
pub fn common_dir_hash(common_dir: &Path) -> String
Expand description

FNV-1a 64-bit hash of the absolute common-dir path, returned as 16 hex chars.

Using FNV-1a avoids adding a new crate dependency. The hash is stable across processes as long as the path string representation is identical.