MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / WithTimestamp

Method WithTimestamp

internal/core/record.go:64–67  ·  view source on GitHub ↗
(timestamp uint64)

Source from the content-addressed store, hash-verified

62}
63
64func (r *Record) WithTimestamp(timestamp uint64) *Record {
65 r.Timestamp = timestamp
66 return r
67}
68
69func (r *Record) WithTTL(ttl uint32) *Record {
70 r.TTL = ttl

Callers 6

TestRecordFunction · 0.95
loadHintFileMethod · 0.80
createTestRecordFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestRecordFunction · 0.76
createTestRecordFunction · 0.64