pub fn to_child_str_path(path: &Path) -> String {
    let mut prts = path.components();

    // skip the most parent directory
    prts.next();

    // build pathbuf from components
    let _path = prts.fold(PathBuf::new(), |mut acc, p| {
        acc.push(p);
        acc
    });
    _path.to_string_lossy().into_owned()
}
// TODO: Name
/// return string path which is ommited the most parent directory.
Name
return string path which is ommited the most parent directory.
Name return string path which is ommited the most parent directory .
pub fn to_child_str_path(path: &Path) -> String {
    let mut prts = path.components();
    // skip the most parent directory
    prts.next();
    // build pathbuf from components
    let _path = prts.fold(PathBuf::new(), |mut acc, p| {
        acc.push(p);
        acc
    });
    _path.to_string_lossy().into_owned()
}
pub fn to_child_str_path ( path : & Path ) -> String { let mut prts = path . components ( ) ; // skip the most parent directory prts . next ( ) ; // build pathbuf from components let _path = prts . fold ( PathBuf :: new ( ) , | mut acc , p | { acc . push ( p ) ; acc } ) ; _path . to_string_lossy ( ) . into_owned ( ) }
TODO: Name
return string path which is ommited the most parent directory.
TODO : Name return string path which is ommited the most parent directory .
path
&Path
path
&Path