Skip to main content

get_version

Function get_version 

Source
pub fn get_version(id: &str) -> String
Expand description

Query the version of a single installed component.

Returns:

  • Semver string for Python modules
  • Git short-hash + subject for git-based components
  • "installed" for command-only tools
  • "not installed" when absent