Skip to main content

try_infer_version

Function try_infer_version 

Source
pub(crate) fn try_infer_version(bins_dir: &Path) -> Option<Version>
Expand description

Try to infer a version string by running <bins_dir>/greptime --version. Returns None if the binary cannot be executed or the output isn’t parseable.