Function tvix_castore::directoryservice::traverse::descend_to
source · pub async fn descend_to<DS>(
directory_service: DS,
root_node: Node,
path: impl AsRef<Path> + Display,
) -> Result<Option<Node>, Error>where
DS: AsRef<dyn DirectoryService>,
Expand description
This descends from a (root) node to the given (sub)path, returning the Node at that path, or none, if there’s nothing at that path.