MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / abort

Method abort

atomic-repository/src/repository/locks.rs:467–472  ·  view source on GitHub ↗

Discard the transaction: no journal entry and no table mutation.

(self)

Source from the content-addressed store, hash-verified

465
466 /// Discard the transaction: no journal entry and no table mutation.
467 pub(super) fn abort(self) -> Result<(), RepositoryError> {
468 use atomic_core::pristine::MutTxnT;
469 self.txn
470 .abort()
471 .map_err(|error| RepositoryError::Database(error.to_string()))
472 }
473}
474
475impl<'a> OrderedPristineWriteTxn<'a> {

Calls

no outgoing calls