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