MCPcopy Create free account
hub / github.com/apple/foundationdb / createSetMutation

Method createSetMutation

fdbclient/IKnobCollection.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128ConfigMutationRef IKnobCollection::createSetMutation(Arena arena, KeyRef key, ValueRef value) {
129 ConfigKey configKey = ConfigKeyRef::decodeKey(key);
130 auto knobValue =
131 IKnobCollection::parseKnobValue(configKey.knobName.toString(), value.toString(), IKnobCollection::Type::TEST);
132 return ConfigMutationRef(arena, configKey, knobValue.contents());
133}
134
135ConfigMutationRef IKnobCollection::createClearMutation(Arena arena, KeyRef key) {
136 return ConfigMutationRef(arena, ConfigKeyRef::decodeKey(key), {});

Callers

nothing calls this directly

Calls 3

decodeKeyFunction · 0.85
ConfigMutationRefClass · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected