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

Function make_vertex

atomic-core/src/output/repo/content.rs:746–752  ·  view source on GitHub ↗

Create a test span

(change: u64, start: u64, end: u64)

Source from the content-addressed store, hash-verified

744
745 /// Create a test span
746 fn make_vertex(change: u64, start: u64, end: u64) -> GraphNode<NodeId> {
747 GraphNode::new(
748 NodeId::new(change),
749 ChangePosition::new(start),
750 ChangePosition::new(end),
751 )
752 }
753
754 /// Create a test change with content
755 fn make_change(content: &[u8]) -> Change {

Calls

no outgoing calls