MCPcopy Create free account
hub / github.com/ceph/ceph / set

Method set

src/kv/KeyValueDB.h:36–42  ·  view source on GitHub ↗

Set Keys

Source from the content-addressed store, hash-verified

34
35 /// Set Keys
36 void set(
37 const std::string &prefix, ///< [in] Prefix for keys, or CF name
38 const std::map<std::string, ceph::buffer::list> &to_set ///< [in] keys/values to set
39 ) {
40 for (auto it = to_set.cbegin(); it != to_set.cend(); ++it)
41 set(prefix, it->first, it->second);
42 }
43
44 /// Set Keys (via encoded ceph::buffer::list)
45 void set(

Callers

nothing calls this directly

Calls 5

setFunction · 0.50
cbeginFunction · 0.50
decodeFunction · 0.50
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected