Function hash_all

Source
fn hash_all(path: &Path) -> CargoResult<HashMap<PathBuf, u64>>
Expand description

Hashes everything under a given directory.

This is for checking if any source file inside a .crate file has changed durint the compilation. It is usually caused by bad build scripts or proc macros trying to modify source files. Cargo disallows that.