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

Method module_code

crates/smoketests/src/lib.rs:781–784  ·  view source on GitHub ↗

Sets the module code to compile and publish.

(mut self, code: &str)

Source from the content-addressed store, hash-verified

779
780 /// Sets the module code to compile and publish.
781 pub fn module_code(mut self, code: &str) -> Self {
782 self.module_code = Some(code.to_string());
783 self
784 }
785
786 /// Uses a pre-compiled module instead of runtime compilation.
787 ///

Calls 1

to_stringMethod · 0.45