MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / vertex_key

Function vertex_key

atomic-core/src/pristine/slice.rs:138–140  ·  view source on GitHub ↗
(node: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

136}
137
138fn vertex_key(node: GraphNode<NodeId>) -> [u8; 24] {
139 encode_vertex(node.change.get(), node.start.get(), node.end.get())
140}
141
142/// How far a traversal expands from a vertex.
143#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]

Callers 1

export_graph_sliceMethod · 0.85

Calls 2

encode_vertexFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected