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

Method new

graphlite/src/catalog/manager.rs:61–66  ·  view source on GitHub ↗

Create a new catalog manager This initializes both the catalog registry and data source catalog registry with all available providers and sets up storage integration. # Arguments `storage` - Arc reference to storage manager for persistence # Returns `Self` - Initialized catalog manager with all catalogs registered

(storage: Arc<StorageManager>)

Source from the content-addressed store, hash-verified

59 /// # Returns
60 /// * `Self` - Initialized catalog manager with all catalogs registered
61 pub fn new(storage: Arc<StorageManager>) -> Self {
62 Self {
63 registry: CatalogRegistry::new(storage.clone()),
64 storage,
65 }
66 }
67
68 /// Execute operation on specific catalog
69 ///

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected