Skip to main content

compute_dir_hash

Function compute_dir_hash 

Source
pub fn compute_dir_hash(children: &mut Vec<(String, [u8; 32])>) -> [u8; 32]
Expand description

Compute a directory hash from sorted child (name, hash) pairs. Uses BLAKE3 over concatenation of sorted name:hash entries. Provides a stable, order-independent directory fingerprint.