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

Method list_functions

graphlite/src/functions/mod.rs:285–289  ·  view source on GitHub ↗

ROADMAP v0.5.0 - Function registry introspection (see ROADMAP.md §8)

(&self)

Source from the content-addressed store, hash-verified

283 /// List all functions with their metadata
284 #[allow(dead_code)] // ROADMAP v0.5.0 - Function registry introspection (see ROADMAP.md §8)
285 pub fn list_functions(&self) -> impl Iterator<Item = (String, &Box<dyn Function>)> {
286 self.functions
287 .iter()
288 .map(|(name, func)| (name.clone(), func))
289 }
290}
291
292impl Default for FunctionRegistry {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected