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

Method Stats

filter/regex_match.go:64–68  ·  view source on GitHub ↗

Stats returns filter statistics.

()

Source from the content-addressed store, hash-verified

62
63// Stats returns filter statistics.
64func (f *RegexMatch) Stats() baker.FilterStats {
65 return baker.FilterStats{
66 NumFilteredLines: atomic.LoadInt64(&f.discarded),
67 }
68}
69
70func (f *RegexMatch) match(l baker.Record) bool {
71 if !f.invert {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected