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

Method Process

filter/clear_fields.go:51–56  ·  view source on GitHub ↗

Process is where the actual filtering takes place.

(l baker.Record, next func(baker.Record))

Source from the content-addressed store, hash-verified

49
50// Process is where the actual filtering takes place.
51func (f *ClearFields) Process(l baker.Record, next func(baker.Record)) {
52 for _, fidx := range f.fields {
53 l.Set(fidx, nil)
54 }
55 next(l)
56}

Callers 1

TestClearFieldsFilterFunction · 0.95

Calls 1

SetMethod · 0.65

Tested by 1

TestClearFieldsFilterFunction · 0.76