Skip to main content

hash_chunk_name

Function hash_chunk_name 

Source
pub fn hash_chunk_name(name: &str) -> u64
Expand description

Hash a chunk name using xxhash64.

Expects a pre-normalized path (lowercase, forward slashes). Use normalize_chunk_path before calling this if the input may contain uppercase characters or backslashes.