MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / updateValue

Method updateValue

src/db.cpp:2799–2803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2797}
2798
2799void redisDbPersistentData::updateValue(dict_iter itr, robj *val)
2800{
2801 trackkey(itr.key(), true /* fUpdate */);
2802 dictSetVal(m_pdict, itr.de, val);
2803}
2804
2805void redisDbPersistentData::ensure(const char *key)
2806{

Callers 1

setExpireFunction · 0.80

Calls 1

keyMethod · 0.45

Tested by

no test coverage detected