Skip to main content

hash_tree

Function hash_tree 

Source
pub fn hash_tree(dir: &Path) -> String
Expand description

Hash all files under dir (relative path + content). Returns an empty string if the directory does not exist. Hidden/.git contents are skipped so unrelated files (e.g. cached build artifacts) don’t force rebuilds.