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

Method rollback

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

Rollback the current transaction.

(&mut self)

Source from the content-addressed store, hash-verified

300
301 /// Rollback the current transaction.
302 pub async fn rollback(&mut self) -> NodeDbResult<()> {
303 let resp = self.send(OpCode::Rollback, TextFields::default()).await?;
304 check_error(resp)
305 }
306
307 /// Set a session parameter.
308 pub async fn set_parameter(&mut self, key: &str, value: &str) -> NodeDbResult<()> {

Callers

nothing calls this directly

Calls 2

check_errorFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected