Function slos_filesystem::traverse_node [−][src]
pub fn traverse_node<'x>(
root: &'x mut dyn FsNode,
subpath: Vec<String>,
ignore_root: bool
) -> Option<&'x mut dyn FsNode>
Expand description
Traverse the directory node root
to find the node at subpath
If ignore_root
is true
, this method will return None
instead of
Some(root)
when subpath
is empty.