pub fn find_latest_snp<G>(
graph: &G,
ori: NodeId,
) -> Result<Option<(NodeId, u64)>>where
G: SwhLabeledForwardGraph + SwhGraphWithProperties,
<G as SwhGraphWithProperties>::Maps: Maps,
Expand description
Given a graph and an origin node in it, return the node id and timestamp (as a number of seconds since Epoch) of the most recent snapshot of that origin, if it exists.
Note: only visit with status Full
are considered when selecting
snapshots.