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

Function empty_module

crates/engine/src/update.rs:611–616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609 }
610
611 fn empty_module() -> ModuleDef {
612 RawModuleDefV9Builder::new()
613 .finish()
614 .try_into()
615 .expect("empty module should be valid")
616 }
617
618 fn single_table_module() -> ModuleDef {
619 let mut builder = RawModuleDefV9Builder::new();

Callers 3

replay_event_table_dropFunction · 0.85

Calls 3

try_intoMethod · 0.80
newFunction · 0.50
finishMethod · 0.45

Tested by 2

Used in the wild real call sites across dependent graphs

searching dependent graphs…