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

Method Commit

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

Commit commits the transaction.

()

Source from the content-addressed store, hash-verified

30type TransactionContext interface {
31 // Commit commits the transaction.
32 Commit() error
33 // Rollback rolls back the transaction.
34 Rollback() error
35 // GetAdapter returns an adapter that operates within this transaction.

Callers 5

TestTransactionConflictsFunction · 0.65
CommitMethod · 0.65
WithTransactionMethod · 0.65

Implementers 1

MockTransactionContexttransaction_test.go

Calls

no outgoing calls

Tested by 3

TestTransactionConflictsFunction · 0.52