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

Method lookup

crates/core/src/host/host_controller.rs:84–86  ·  view source on GitHub ↗
(&self, program_hash: Hash)

Source from the content-addressed store, hash-verified

82 Fut: Future<Output = anyhow::Result<Option<Box<[u8]>>>> + Send,
83{
84 async fn lookup(&self, program_hash: Hash) -> anyhow::Result<Option<Box<[u8]>>> {
85 self(program_hash).await
86 }
87}
88
89pub type ProgramStorage = Arc<dyn ExternalStorage>;

Callers 1

load_programFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected