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

Class CatalogManager

graphlite/src/catalog/manager.rs:41–48  ·  view source on GitHub ↗

Unified catalog manager - The single external interface CatalogManager is the ONLY class that external code should interact with. It provides a unified interface for all catalog operations and manages the underlying catalog registries and providers. # Key Design Principles - **Single Interface**: External code only imports and uses CatalogManager - **Generic Operations**: All operations use gene

Source from the content-addressed store, hash-verified

39/// - **Provider Abstraction**: External code has zero knowledge of specific catalog providers
40/// - **Architectural Separation**: Internal catalogs and external data source catalogs are managed separately
41pub struct CatalogManager {
42 /// Internal registry managing all catalog providers
43 registry: CatalogRegistry,
44 /// Reference to storage manager for persistence
45 #[allow(dead_code)]
46 // FALSE POSITIVE - Used in initialization (line 61) and passed to registry. Compiler limitation with field access detection.
47 storage: Arc<StorageManager>,
48}
49
50impl CatalogManager {
51 /// Create a new catalog manager

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected