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

Method function_needs_graph_context

graphlite/src/exec/executor.rs:2850–2858  ·  view source on GitHub ↗

Check if a function requires graph context

(&self, function_name: &str)

Source from the content-addressed store, hash-verified

2848
2849 /// Check if a function requires graph context
2850 fn function_needs_graph_context(&self, function_name: &str) -> bool {
2851 // Check if function exists in registry and get its context requirement
2852 if let Some(function) = self.function_registry.get(function_name) {
2853 function.graph_context_required()
2854 } else {
2855 // Unknown functions are assumed to need graph context for safety
2856 true
2857 }
2858 }
2859
2860 /// Check if a SELECT statement needs graph context
2861 fn select_statement_needs_graph_context(

Callers 1

Calls 2

getMethod · 0.45

Tested by

no test coverage detected