| 968 | struct 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 | }; |
| 984 | REGISTER_CMD(GetDocLayerVersionCmd, "getdoclayerversion"); |
| 985 |
nothing calls this directly
no test coverage detected