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

Method get_vertex_mut

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

Source from the content-addressed store, hash-verified

258 /// Get a mutable span by ID, returning None if out of bounds.
259 #[inline]
260 pub fn get_vertex_mut(&mut self, id: VertexId) -> Option<&mut AliveVertex> {
261 self.vertices.get_mut(id.index())
262 }
263
264 /// Iterate over a span's children.
265 ///

Callers 1

retrieve_graphFunction · 0.80

Calls 2

get_mutMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected