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

Method set_variable

graphlite/src/exec/context.rs:148–150  ·  view source on GitHub ↗

Set a local variable with type information

(&mut self, name: String, value: Value)

Source from the content-addressed store, hash-verified

146
147 /// Set a local variable with type information
148 pub fn set_variable(&mut self, name: String, value: Value) {
149 self.variables.insert(name, value);
150 }
151
152 /// Set a local variable with explicit type information
153 #[allow(dead_code)] // ROADMAP v0.4.0 - Type-aware variable binding for schema validation

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected