Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ get_vertex
Method
get_vertex
atomic-core/src/output/alive/graph.rs:238–240 ·
view source on GitHub ↗
(&self, id: VertexId)
Source
from the content-addressed store, hash-verified
236
/// Panics if the ID is out of bounds.
237
#[inline]
238
pub fn get_vertex(&self, id: VertexId) -> &AliveVertex {
239
&self.vertices[id.index()]
240
}
241
242
/// Get a mutable reference to a span by ID.
243
///
Callers
7
test_graph_vertex_access
Function · 0.80
compute_order
Function · 0.80
tarjan_visit
Function · 0.80
retrieve_graph
Function · 0.80
walk_through_dead
Function · 0.80
resolve_conflicts_semantically
Function · 0.80
dump_filtered_alive_graph_for_test
Function · 0.80
Calls
1
index
Method · 0.45
Tested by
2
test_graph_vertex_access
Function · 0.64
dump_filtered_alive_graph_for_test
Function · 0.64