MCPcopy
hub / github.com/apache/casbin / Rollback

Method Rollback

persist/transaction.go:34–34  ·  view source on GitHub ↗

Rollback rolls back the transaction.

()

Source from the content-addressed store, hash-verified

32 Commit() error
33 // Rollback rolls back the transaction.
34 Rollback() error
35 // GetAdapter returns an adapter that operates within this transaction.
36 GetAdapter() Adapter
37}

Callers 6

TestTransactionRollbackFunction · 0.65
TestTransactionConflictsFunction · 0.65
TestTransactionBufferFunction · 0.65
CommitMethod · 0.65
RollbackMethod · 0.65
WithTransactionMethod · 0.65

Implementers 1

MockTransactionContexttransaction_test.go

Calls

no outgoing calls

Tested by 3

TestTransactionRollbackFunction · 0.52
TestTransactionConflictsFunction · 0.52
TestTransactionBufferFunction · 0.52