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

Method key_load_itr

src/StorageCache.h:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 void *privdataParent;
22 };
23 static void key_load_itr(const char *rgchKey, size_t cchKey, void *privdata)
24 {
25 load_iter_data *data = (load_iter_data*)privdata;
26 data->cache->cacheKey(rgchKey, cchKey);
27 if (data->itrParent)
28 data->itrParent(rgchKey, cchKey, data->privdataParent);
29 }
30
31public:
32 ~StorageCache();

Callers

nothing calls this directly

Calls 1

cacheKeyMethod · 0.80

Tested by

no test coverage detected