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

Method UserMeta

iterator.go:283–285  ·  view source on GitHub ↗

UserMeta returns the userMeta set by the user. Typically, this byte, optionally set by the user is used to interpret the value.

()

Source from the content-addressed store, hash-verified

281// UserMeta returns the userMeta set by the user. Typically, this byte, optionally set by the user
282// is used to interpret the value.
283func (item *Item) UserMeta() byte {
284 return item.userMeta
285}
286
287// ExpiresAt returns a Unix time value indicating when the item will be
288// considered expired. 0 indicates that the item will never expire.

Callers 8

BackupMethod · 0.80
TestManifestBasicFunction · 0.80
ToListMethod · 0.80
TestConcurrentWriteFunction · 0.80
TestGetFunction · 0.80
TestIterate2BasicFunction · 0.80
TestBackupRestore1Function · 0.80
printKeyFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestManifestBasicFunction · 0.64
TestConcurrentWriteFunction · 0.64
TestGetFunction · 0.64
TestIterate2BasicFunction · 0.64
TestBackupRestore1Function · 0.64