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

Method call

src/ExtCmd.actor.cpp:791–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789struct BuildInfoCmd {
790 static const char* name;
791 static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> ec,
792 Reference<ExtMsgQuery> query,
793 Reference<ExtMsgReply> reply) {
794 // clang-format off
795 reply->addDocument(BSON(
796 "version" << EXT_SERVER_VERSION <<
797 "gitVersion" << getGitVersion() <<
798 "OpenSSLVersion" << "" <<
799 "sysInfo" << "<string>" <<
800 "loaderFlags" << "<string>" <<
801 "compilerFlags" << "<string>" <<
802 "allocator" << "<string>" <<
803 "versionArray" << EXT_SERVER_VERSION_ARRAY <<
804 "javascriptEngine" << "<string>" <<
805 "bits" << 64 <<
806 "debug" << false <<
807 "maxBsonObjectSize"<< 16777216 <<
808 "ok" << 1.0
809 ));
810 // clang-format on
811 return reply;
812 }
813};
814REGISTER_CMD(BuildInfoCmd, "buildinfo");
815

Callers

nothing calls this directly

Calls 2

getGitVersionFunction · 0.85
addDocumentMethod · 0.80

Tested by

no test coverage detected