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