Skip to main content

hash_module_contents

Function hash_module_contents 

Source
pub fn hash_module_contents(module_dir: &Path) -> Result<String>
Expand description

Compute SHA-256 integrity hash of a module directory’s contents. Hashes file paths (relative to module dir) and their contents, sorted for determinism.