summaryrefslogtreecommitdiff
path: root/src/mongo/util/version.h
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2021-12-14 07:47:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-17 17:14:57 +0000
commit7e8cbd4f9d46dccbc298256f7914243ccd573bdf (patch)
treedc9396b8017e05fa22b246469ad735fd72dd1671 /src/mongo/util/version.h
parentf997e000ca1b52f529755e3dde404dc73b2e68be (diff)
downloadmongo-7e8cbd4f9d46dccbc298256f7914243ccd573bdf.tar.gz
SERVER-61844 Allow mongos and mongoq to have different startup initialization
Diffstat (limited to 'src/mongo/util/version.h')
-rw-r--r--src/mongo/util/version.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/util/version.h b/src/mongo/util/version.h
index 04ed69e4275..ffbf3aa730f 100644
--- a/src/mongo/util/version.h
+++ b/src/mongo/util/version.h
@@ -170,6 +170,11 @@ protected:
};
/**
+ * Returns a pretty string describing the provided binary's version.
+ */
+std::string formatVersionString(StringData versioned, const VersionInfoInterface& provider);
+
+/**
* Returns a pretty string describing the current shell version.
*/
std::string mongoShellVersion(const VersionInfoInterface& provider);