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

Method Process

filter/partial_clone.go:51–57  ·  view source on GitHub ↗
(r baker.Record, next func(baker.Record))

Source from the content-addressed store, hash-verified

49}
50
51func (s *PartialClone) Process(r baker.Record, next func(baker.Record)) {
52 l2 := s.createRecord()
53 for _, idx := range s.fieldIdx {
54 l2.Set(idx, r.Get(idx))
55 }
56 next(l2)
57}

Callers 1

TestNewPartialCloneFunction · 0.95

Calls 2

SetMethod · 0.65
GetMethod · 0.65

Tested by 1

TestNewPartialCloneFunction · 0.76