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

Method new

graphlite/src/functions/function_trait.rs:51–60  ·  view source on GitHub ↗

Create a new function context (backward compatibility)

(rows: Vec<Row>, variables: HashMap<String, Value>, arguments: Vec<Value>)

Source from the content-addressed store, hash-verified

49impl FunctionContext {
50 /// Create a new function context (backward compatibility)
51 pub fn new(rows: Vec<Row>, variables: HashMap<String, Value>, arguments: Vec<Value>) -> Self {
52 Self {
53 rows,
54 variables,
55 arguments,
56 storage_manager: None,
57 current_graph: None,
58 graph_name: None,
59 }
60 }
61
62 /// Create a new function context with storage access
63 pub fn with_storage(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected