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

Method commit

graphlite/src/txn/state.rs:206–209  ·  view source on GitHub ↗

Mark transaction as committed

(&mut self)

Source from the content-addressed store, hash-verified

204
205 /// Mark transaction as committed
206 pub fn commit(&mut self) {
207 self.status = TransactionStatus::Committed;
208 self.end_time = Some(SystemTime::now());
209 }
210
211 /// Mark transaction as rolled back
212 pub fn rollback(&mut self) {

Callers 3

commit_transactionMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected