MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / stored_program_hash

Function stored_program_hash

crates/core/src/host/host_controller.rs:645–648  ·  view source on GitHub ↗
(db: &RelationalDB)

Source from the content-addressed store, hash-verified

643}
644
645fn stored_program_hash(db: &RelationalDB) -> anyhow::Result<Option<Hash>> {
646 let meta = db.metadata()?;
647 Ok(meta.map(|meta| meta.program_hash))
648}
649
650async fn make_replica_ctx(
651 module_logs: Option<ModuleLogsDir>,

Callers 1

update_moduleFunction · 0.85

Calls 3

OkFunction · 0.50
metadataMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…