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

Method Process

filter/clausefilter.go:129–135  ·  view source on GitHub ↗
(l baker.Record, next func(baker.Record))

Source from the content-addressed store, hash-verified

127}
128
129func (f *ClauseFilter) Process(l baker.Record, next func(baker.Record)) {
130 if f.matchClause(l, &f.topClause) {
131 next(l)
132 } else {
133 atomic.AddInt64(&f.numFilteredLines, 1)
134 }
135}
136
137func (f *ClauseFilter) Stats() baker.FilterStats {
138 return baker.FilterStats{

Callers 1

Calls 1

matchClauseMethod · 0.95

Tested by 1