Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
func
(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
TestNewPartialClone
Function · 0.95
Calls
2
Set
Method · 0.65
Get
Method · 0.65
Tested by
1
TestNewPartialClone
Function · 0.76