MCPcopy
hub / github.com/grafana/dskit / updateTime

Function updateTime

kv/memberlist/memberlist_client.go:1921–1926  ·  view source on GitHub ↗
(val int64)

Source from the content-addressed store, hash-verified

1919}
1920
1921func updateTime(val int64) time.Time {
1922 if val == 0 {
1923 return time.Time{}
1924 }
1925 return time.UnixMilli(val)
1926}
1927
1928func updateTimeMillis(ts time.Time) int64 {
1929 if ts.IsZero() {

Callers 2

NotifyMsgMethod · 0.85
MergeRemoteStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected