MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / clear_locals

Method clear_locals

graphlite/src/exec/context.rs:199–202  ·  view source on GitHub ↗

Clear local variables while preserving session state

(&mut self)

Source from the content-addressed store, hash-verified

197
198 /// Clear local variables while preserving session state
199 pub fn clear_locals(&mut self) {
200 self.variables.clear();
201 self.variable_types.clear();
202 }
203
204 /// Set the current graph for execution
205 pub fn set_current_graph(&mut self, graph: std::sync::Arc<crate::storage::GraphCache>) {

Callers 5

execute_filterMethod · 0.80
execute_projectMethod · 0.80
execute_aggregateMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected