Skip to main content

compute_dir_hash_from_path

Function compute_dir_hash_from_path 

Source
pub fn compute_dir_hash_from_path(dir_path: &Path) -> Option<[u8; 32]>
Expand description

Compute a directory hash by reading the directory at path. Each child’s metadata (size, mtime, type) is hashed, then all children are sorted by name and combined into a single BLAKE3 directory fingerprint. Skips foxing internal files (.foxing*, .foxing_meta sidecars).