Function find_root_dir

Source
pub fn find_root_dir<G>(graph: &G, node: NodeId) -> Result<Option<NodeId>>
Expand description

Given a node id pointing to a revision or release, returns the node id of the associated topmost (“root”) directory.

If the release points to a revision, this function recurses once through that revision.