MCPcopy Create free account
hub / github.com/AdRoll/baker / Stats

Method Stats

filter/string_match.go:57–61  ·  view source on GitHub ↗

Stats returns filter statistics.

()

Source from the content-addressed store, hash-verified

55
56// Stats returns filter statistics.
57func (f *StringMatch) Stats() baker.FilterStats {
58 return baker.FilterStats{
59 NumFilteredLines: atomic.LoadInt64(&f.discarded),
60 }
61}
62
63func (f *StringMatch) isMatchAny(l baker.Record) bool {
64 buf := l.Get(f.field)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected