MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / commit

Method commit

nodedb-client/src/native/connection/mod.rs:296–299  ·  view source on GitHub ↗

Commit the current transaction.

(&mut self)

Source from the content-addressed store, hash-verified

294
295 /// Commit the current transaction.
296 pub async fn commit(&mut self) -> NodeDbResult<()> {
297 let resp = self.send(OpCode::Commit, TextFields::default()).await?;
298 check_error(resp)
299 }
300
301 /// Rollback the current transaction.
302 pub async fn rollback(&mut self) -> NodeDbResult<()> {

Callers

nothing calls this directly

Calls 2

check_errorFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected