MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / call

Method call

src/ExtCmd.actor.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159struct GetCmdLineOptsCmd {
160 static const char* name;
161 static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> nmc,
162 Reference<ExtMsgQuery> query,
163 Reference<ExtMsgReply> reply) {
164 // clang-format off
165 reply->addDocument(BSON("argv" << BSON_ARRAY("fdbdoc") <<
166 "ok" << 1.0));
167 // clang-format on
168
169 return Future<Reference<ExtMsgReply>>(reply);
170 }
171};
172REGISTER_CMD(GetCmdLineOptsCmd, "getcmdlineopts");
173

Callers

nothing calls this directly

Calls 1

addDocumentMethod · 0.80

Tested by

no test coverage detected