find_head_rev

Function find_head_rev 

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

Given a graph and a snapshot node in it, return the node id of the revision pointed by the HEAD branch, it it exists.