MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / clearMatches

Method clearMatches

pkg/rules/engine.go:329–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func (e *Engine) clearMatches() {
330 e.mmu.Lock()
331 defer e.mmu.Unlock()
332 e.matches = make([]*ruleMatch, 0)
333}

Callers 1

processActionsMethod · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected