pub fn hash_tree(root: &Path) -> Result<String>
Hashes a materialized directory using sorted relative paths and file bytes. Directory metadata and filesystem iteration order are intentionally ignored.