MCPcopy Create free account
hub / github.com/apache/kvrocks / CommandAttributes

Method CommandAttributes

src/commands/commander.h:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208struct CommandAttributes {
209 CommandAttributes(std::string name, int arity, CommandCategory category, uint64_t flags, AdditionalFlagGen flag_gen,
210 NoKeyInThisCommand, CommanderFactory factory)
211 : name(std::move(name)),
212 arity(arity),
213 category(category),
214 factory(std::move(factory)),
215 flags_(flags),
216 flag_gen_(std::move(flag_gen)),
217 key_range_{0, 0, 0} {}
218
219 CommandAttributes(std::string name, int arity, CommandCategory category, uint64_t flags, AdditionalFlagGen flag_gen,
220 CommandKeyRange key_range, CommanderFactory factory)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected