MCPcopy Create free account
hub / github.com/distributedio/titan / updateMeta

Method updateMeta

db/zset.go:170–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168}
169
170func (zset *ZSet) updateMeta() error {
171 meta := zset.encodeMeta(zset.meta)
172 return zset.txn.t.Set(MetaKey(zset.txn.db, zset.key), meta)
173}
174
175func (zset *ZSet) encodeMeta(meta ZSetMeta) []byte {
176 b := EncodeObject(&meta.Object)

Callers 2

ZAddMethod · 0.95
ZRemMethod · 0.95

Calls 3

encodeMetaMethod · 0.95
MetaKeyFunction · 0.85
SetMethod · 0.65

Tested by

no test coverage detected