MCPcopy 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
52func sourceToInt(r baker.Record) uint64 {
53 return simpleHash(r, Source)
54}
55
56func targetToInt(r baker.Record) uint64 {
57 return simpleHash(r, Target)

Callers

nothing calls this directly

Calls 1

simpleHashFunction · 0.70

Tested by

no test coverage detected