haskell-language-server-2.7.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Version

Description

Information and display strings for HIE's version and the current project's version

Synopsis

Documentation

findVersionOf :: FilePath -> IO (Maybe Version) Source #

Find the version of the given program. Assumes the program accepts the cli argument "--numeric-version". If the invocation has a non-zero exit-code, we return Nothing