/// The path from the root of the namespace to this node.
The path from the root of the namespace to this node.
The path from the root of the namespace to this node .
pub fn path(&self) -> FsString {
        if self.mount.is_none() {
            return self.entry.local_name().to_vec();
        }
        let mut components = vec![];
        let mut current_task = self.mountpoint().unwrap_or_else(|| self.clone());
        while let Some(parent) = current_task.parent() {
            components.push(current_task.entry.local_name().to_vec());
            current_task = parent.mountpoint().unwrap_or(parent);
        }
        if components.is_empty() {
            return b"/".to_vec();
        }
        components.push(vec![]);
        components.reverse();
        components.join(&b'/')
    }
pub fn path ( & self ) -> FsString { if self . mount . is_none ( ) { return self . entry . local_name ( ) . to_vec ( ) ; } let mut components = vec ! [ ] ; let mut current_task = self . mountpoint ( ) . unwrap_or_else ( | | self . clone ( ) ) ; while let Some ( parent ) = current_task . parent ( ) { components . push ( current_task . entry . local_name ( ) . to_vec ( ) ) ; current_task = parent . mountpoint ( ) . unwrap_or ( parent ) ; } if components . is_empty ( ) { return b" " . to_vec ( ) ; } components . push ( vec ! [ ] ) ; components . reverse ( ) ; components . join ( & b'/' ) }
The path from the root of the namespace to this node.
The path from the root of the namespace to this node .
&self