Skip to main content

relative_depth

Function relative_depth 

Source
pub fn relative_depth(root: &Path, dir: &Path) -> usize
Expand description

dir 相对 root 的深度(ROOT 自身为 0)。