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

Method adjacency_buffer

atomic-core/src/apply/workspace.rs:656–658  ·  view source on GitHub ↗

Get a mutable reference to the adjacency buffer. This buffer can be used for temporary storage during adjacency iteration. The caller should clear it before use.

(&mut self)

Source from the content-addressed store, hash-verified

654 /// This buffer can be used for temporary storage during adjacency iteration.
655 /// The caller should clear it before use.
656 pub fn adjacency_buffer(&mut self) -> &mut Vec<Position<NodeId>> {
657 &mut self.adjacency_buffer
658 }
659
660 /// Get a mutable reference to the traversal stack.
661 ///

Callers 1

test_workspace_buffersFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_workspace_buffersFunction · 0.64