Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
64
func
(r *Record) WithTimestamp(timestamp uint64) *Record {
65
r.Timestamp = timestamp
66
return
r
67
}
68
69
func
(r *Record) WithTTL(ttl uint32) *Record {
70
r.TTL = ttl
Callers
6
TestRecord
Function · 0.95
TestMergeV2CommitCollectorFailure
Function · 0.80
TestMergeV2RewriteFileSkipsCorruptedEntries
Function · 0.80
loadHintFile
Method · 0.80
createRecordByModeWithFidAndOff
Method · 0.80
createTestRecord
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestRecord
Function · 0.76
TestMergeV2CommitCollectorFailure
Function · 0.64
TestMergeV2RewriteFileSkipsCorruptedEntries
Function · 0.64
createTestRecord
Function · 0.64