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

Method call

src/ExtCmd.actor.cpp:970–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968struct GetDocLayerVersionCmd {
969 static const char* name;
970 static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> ec,
971 Reference<ExtMsgQuery> query,
972 Reference<ExtMsgReply> reply) {
973 // clang-format off
974 reply->addDocument(BSON(
975 "ok" << 1 <<
976 "packageVersion" << FDB_DOC_VT_VERSION <<
977 "sourceVersion" << getGitVersion() <<
978 "flowSourceVersion" << getFlowGitVersion()
979 ));
980 // clang-format on
981 return reply;
982 }
983};
984REGISTER_CMD(GetDocLayerVersionCmd, "getdoclayerversion");
985

Callers

nothing calls this directly

Calls 3

getGitVersionFunction · 0.85
getFlowGitVersionFunction · 0.85
addDocumentMethod · 0.80

Tested by

no test coverage detected