| 126 | } |
| 127 | |
| 128 | ConfigMutationRef 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 | |
| 135 | ConfigMutationRef IKnobCollection::createClearMutation(Arena arena, KeyRef key) { |
| 136 | return ConfigMutationRef(arena, ConfigKeyRef::decodeKey(key), {}); |
nothing calls this directly
no test coverage detected