Skip to main content

hash_bytes

Function hash_bytes 

Source
pub fn hash_bytes(bytes: &[u8]) -> ContentHash
Expand description

Hash a file’s bytes for use as a cache-key input.