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

Function onOffGenerator

fdbcli/fdbcli.actor.cpp:802–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800} // namespace fdb_cli
801
802void onOffGenerator(const char* text, const char* line, std::vector<std::string>& lc) {
803 const char* opts[] = { "on", "off", nullptr };
804 arrayGenerator(text, line, opts, lc);
805}
806
807void fdbcliCompCmd(std::string const& text, std::vector<std::string>& lc) {
808 bool err, partial;

Callers 1

fdbcliCompCmdFunction · 0.85

Calls 1

arrayGeneratorFunction · 0.85

Tested by

no test coverage detected