MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / get_store_instance

Method get_store_instance

src/global_db.rs:1790–1802  ·  view source on GitHub ↗
(&self, store_id: &str)

Source from the content-addressed store, hash-verified

1788 }
1789
1790 async fn get_store_instance(&self, store_id: &str) -> Option<StoreInstanceRecord> {
1791 let mut rows = self
1792 .conn
1793 .query(
1794 "SELECT store_id, project_id, store_kind, storage_mode, store_relpath,
1795 manifest_relpath, created_at, last_verified_at, last_write_at
1796 FROM store_instances WHERE store_id = ?1",
1797 params![store_id],
1798 )
1799 .await
1800 .ok()?;
1801 row_to_store_instance(&rows.next().await.ok()??, 0)
1802 }
1803
1804 async fn get_graph_scope(&self, graph_scope_id: &str) -> Option<GraphScopeRecord> {
1805 let mut rows = self

Callers 1

upsert_store_instanceMethod · 0.80

Calls 1

row_to_store_instanceFunction · 0.85

Tested by

no test coverage detected