MCPcopy
hub / github.com/dgraph-io/badger / ExpiresAt

Method ExpiresAt

iterator.go:289–291  ·  view source on GitHub ↗

ExpiresAt returns a Unix time value indicating when the item will be considered expired. 0 indicates that the item will never expire.

()

Source from the content-addressed store, hash-verified

287// ExpiresAt returns a Unix time value indicating when the item will be
288// considered expired. 0 indicates that the item will never expire.
289func (item *Item) ExpiresAt() uint64 {
290 return item.expiresAt
291}
292
293// TODO: Switch this to use linked list container in Go.
294type list struct {

Callers 3

BackupMethod · 0.80
ToListMethod · 0.80

Calls

no outgoing calls

Tested by 1