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

Method lazy_load_graph

graphlite/src/exec/executor.rs:454–463  ·  view source on GitHub ↗

Get a graph with lazy loading (now handled by StorageManager)

(&self, graph_name: &str)

Source from the content-addressed store, hash-verified

452
453 /// Get a graph with lazy loading (now handled by StorageManager)
454 fn lazy_load_graph(&self, graph_name: &str) -> Result<Option<GraphCache>, ExecutionError> {
455 log::debug!("Getting graph '{}' with lazy loading", graph_name);
456 // StorageManager handles lazy loading internally
457 self.storage.get_graph(graph_name).map_err(|e| {
458 ExecutionError::StorageError(format!(
459 "Failed to get/load graph '{}': {}",
460 graph_name, e
461 ))
462 })
463 }
464
465 /// Resolve a graph reference to an actual graph instance
466 ///

Callers 1

Calls 2

StorageErrorEnum · 0.85
get_graphMethod · 0.45

Tested by

no test coverage detected