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

Function commit

crates/datastore/src/locking_tx_datastore/datastore.rs:1292–1295  ·  view source on GitHub ↗
(datastore: &Locking, tx: MutTxId)

Source from the content-addressed store, hash-verified

1290 }
1291
1292 pub(crate) fn commit(datastore: &Locking, tx: MutTxId) -> ResultTest<TxData> {
1293 let (_, tx_data, _, _) = datastore.commit_mut_tx(tx)?.expect("commit should produce `TxData`");
1294 Ok(tx_data)
1295 }
1296
1297 #[rustfmt::skip]
1298 fn basic_table_schema_cols() -> [ColRow<'static>; 3] {

Calls 2

commit_mut_txMethod · 0.80
OkFunction · 0.50

Used in the wild real call sites across dependent graphs

searching dependent graphs…