pub trait HashPath {
// Required method
fn hashed_path(self, depth: usize) -> PathBuf;
}
Expand description
Create a relative path from a hash with a given depth, such that for the given depth, those beginning values of the hash are sub-directories.
Required Methods§
Sourcefn hashed_path(self, depth: usize) -> PathBuf
fn hashed_path(self, depth: usize) -> PathBuf
Get the path object from the hash with the requested sub-directory depth