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

Method try_get_vertex

atomic-core/src/output/alive/graph.rs:254–256  ·  view source on GitHub ↗
(&self, id: VertexId)

Source from the content-addressed store, hash-verified

252 /// Get a span by ID, returning None if out of bounds.
253 #[inline]
254 pub fn try_get_vertex(&self, id: VertexId) -> Option<&AliveVertex> {
255 self.vertices.get(id.index())
256 }
257
258 /// Get a mutable span by ID, returning None if out of bounds.
259 #[inline]

Callers 7

build_conflict_treeFunction · 0.80
detect_fork_conflictsFunction · 0.80
output_graph_contentFunction · 0.80
supersedor_in_forkFunction · 0.80

Calls 2

getMethod · 0.65
indexMethod · 0.45

Tested by

no test coverage detected