Skip to main content

graph_hash

Function graph_hash 

Source
pub fn graph_hash(graph: &DroneGraph) -> String
Expand description

The SHA-256 of a graph, as lowercase hex, of its canonical JSON: object keys sorted, no whitespace. Two graphs with the same content have the same hash however their JSON was ordered.