MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / in_memory_store

Function in_memory_store

crates/openshell-server/src/http.rs:430–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428 use tower::ServiceExt;
429
430 async fn in_memory_store() -> Arc<Store> {
431 Arc::new(
432 Store::connect("sqlite::memory:")
433 .await
434 .expect("connect in-memory sqlite store"),
435 )
436 }
437
438 /// Build a [`health_router`] that has already observed its first probe
439 /// outcome. Test-only — production code must not block the listener on

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected