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

Method load_all

graphlite/src/catalog/manager.rs:198–201  ·  view source on GitHub ↗

Load all catalogs from storage Loads the state of all registered catalogs from storage. This operation loads each catalog's state individually. # Returns `Ok(())` if all catalogs loaded successfully `Err(CatalogError)` if any catalog failed to load

(&mut self)

Source from the content-addressed store, hash-verified

196 /// * `Ok(())` if all catalogs loaded successfully
197 /// * `Err(CatalogError)` if any catalog failed to load
198 pub async fn load_all(&mut self) -> CatalogResult<()> {
199 // Storage operations are sync, just wrap in async context
200 self.registry.load_all()
201 }
202
203 /// Save a specific catalog to storage
204 ///

Callers 1

load_catalogMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected