Skip to main content

hash_source

Function hash_source 

Source
pub fn hash_source(source: &Path) -> Result<Hash>
Expand description

Hash a file or directory tree with a stable, content-addressed scheme.

ยงErrors

Returns an error if the source does not exist, is neither a file nor a directory, or cannot be read.