Skip to main content

hash_files

Function hash_files 

Source
pub fn hash_files(dir: &Path) -> Result<BTreeMap<String, String>, String>
Expand description

Every file in dir (relative path → SHA-256 hex), within the limits, with no symlinks. widget.sig at the root is left out: it signs the hash of the rest (SPEC_WIDGET_SHARING_2026_10_10.md §2.1).