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

Method visited

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

Get a mutable reference to the visited set. This set can be used to track visited positions during traversal. The caller should clear it before use.

(&mut self)

Source from the content-addressed store, hash-verified

670 /// This set can be used to track visited positions during traversal.
671 /// The caller should clear it before use.
672 pub fn visited(&mut self) -> &mut HashSet<Position<NodeId>> {
673 &mut self.visited
674 }
675
676 // Statistics
677

Callers 1

test_workspace_buffersFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_workspace_buffersFunction · 0.64