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

Method new

graphlite/src/catalog/system_procedures.rs:36–47  ·  view source on GitHub ↗
(
        catalog_manager: Arc<std::sync::RwLock<CatalogManager>>,
        storage: Arc<crate::storage::StorageManager>,
        cache_manager: Option<Arc<crate::cache::CacheManager>>,
    )

Source from the content-addressed store, hash-verified

34
35impl SystemProcedures {
36 pub fn new(
37 catalog_manager: Arc<std::sync::RwLock<CatalogManager>>,
38 storage: Arc<crate::storage::StorageManager>,
39 cache_manager: Option<Arc<crate::cache::CacheManager>>,
40 ) -> Self {
41 Self {
42 catalog_manager,
43 storage,
44 cache_manager,
45 session_provider: None,
46 }
47 }
48
49 /// Set the session provider after construction
50 pub fn with_session_provider(mut self, session_provider: Arc<dyn SessionProvider>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected