MCPcopy
hub / github.com/crowdsecurity/crowdsec / Commit

Method Commit

pkg/database/ent/tx.go:49–49  ·  view source on GitHub ↗
(context.Context, *Tx)

Source from the content-addressed store, hash-verified

47 // Committer is the interface that wraps the Commit method.
48 Committer interface {
49 Commit(context.Context, *Tx) error
50 }
51
52 // The CommitFunc type is an adapter to allow the use of ordinary

Callers 4

CommitMethod · 0.95
AddToAllowlistMethod · 0.65
createAlertBatchMethod · 0.65

Implementers 2

Txpkg/database/ent/tx.go
txDriverpkg/database/ent/tx.go

Calls

no outgoing calls

Tested by

no test coverage detected