hash_path

Function hash_path 

Source
pub fn hash_path<P: AsRef<Path>>(p: P) -> String
Expand description

Hash a path (as str, string, Cow<str>, Path, PathBuf) into a predictable string. It will allow to check quickly if a file is already created.