MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / rollback

Method rollback

graphlite/src/txn/state.rs:212–215  ·  view source on GitHub ↗

Mark transaction as rolled back

(&mut self)

Source from the content-addressed store, hash-verified

210
211 /// Mark transaction as rolled back
212 pub fn rollback(&mut self) {
213 self.status = TransactionStatus::RolledBack;
214 self.end_time = Some(SystemTime::now());
215 }
216
217 /// Mark transaction as failed with error message
218 pub fn fail(&mut self, error: String) {

Callers 1

rollback_transactionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected