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

Function make_vertex

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

Create a test span

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

Source from the content-addressed store, hash-verified

777
778 /// Create a test span
779 fn make_vertex(change: u64, start: u64, end: u64) -> GraphNode<NodeId> {
780 GraphNode::new(
781 NodeId::new(change),
782 ChangePosition::new(start),
783 ChangePosition::new(end),
784 )
785 }
786
787 /// Create a test change with content
788 fn make_change(content: &[u8]) -> Change {

Calls

no outgoing calls