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

Function timestampToInt

examples/advanced/main.go:48–50  ·  view source on GitHub ↗
(r baker.Record)

Source from the content-addressed store, hash-verified

46}
47
48func timestampToInt(r baker.Record) uint64 {
49 return simpleHash(r, Timestamp)
50}
51
52func sourceToInt(r baker.Record) uint64 {
53 return simpleHash(r, Source)

Callers

nothing calls this directly

Calls 1

simpleHashFunction · 0.70

Tested by

no test coverage detected