Skip to main content

hash_depth

Function hash_depth 

Source
pub fn hash_depth(hash: &str, depth: u8) -> PathBuf
Expand description

Build up directories representing the hash but don’t include the hash itself so the directory structure can be created before adding the file to the path.