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

Method involveMutation

fdbclient/DatabaseConfiguration.cpp:667–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667bool DatabaseConfiguration::involveMutation(MutationRef m) {
668 return (m.type == MutationRef::SetValue && m.param1.startsWith(configKeysPrefix)) ||
669 (m.type == MutationRef::ClearRange && KeyRangeRef(m.param1, m.param2).intersects(configKeys));
670}
671
672bool DatabaseConfiguration::set(KeyRef key, ValueRef value) {
673 makeConfigurationMutable();

Callers 1

whenFunction · 0.80

Calls 3

KeyRangeRefClass · 0.50
startsWithMethod · 0.45
intersectsMethod · 0.45

Tested by

no test coverage detected