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

Method set_program_storage

crates/core/src/host/host_controller.rs:248–250  ·  view source on GitHub ↗

Replace the [`ProgramStorage`] used by this controller.

(&mut self, ps: ProgramStorage)

Source from the content-addressed store, hash-verified

246
247 /// Replace the [`ProgramStorage`] used by this controller.
248 pub fn set_program_storage(&mut self, ps: ProgramStorage) {
249 self.program_storage = ps;
250 }
251
252 /// Get a [`ModuleHost`] managed by this controller, or launch it from
253 /// persistent state.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected