Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ sourceToInt
Function
sourceToInt
examples/advanced/main.go:52–54 ·
view source on GitHub ↗
(r baker.Record)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
sourceToInt(r baker.Record) uint64 {
53
return
simpleHash(r, Source)
54
}
55
56
func
targetToInt(r baker.Record) uint64 {
57
return
simpleHash(r, Target)
Callers
nothing calls this directly
Calls
1
simpleHash
Function · 0.70
Tested by
no test coverage detected