Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
TestTransactionRollback
Function · 0.65
TestTransactionConflicts
Function · 0.65
TestTransactionBuffer
Function · 0.65
Commit
Method · 0.65
Rollback
Method · 0.65
WithTransaction
Method · 0.65
Implementers
1
MockTransactionContext
transaction_test.go
Calls
no outgoing calls
Tested by
3
TestTransactionRollback
Function · 0.52
TestTransactionConflicts
Function · 0.52
TestTransactionBuffer
Function · 0.52