View Source Medic.Checks.ToolVersions (Medic v1.11.0)

Doctor checks for runtime version managers. Prefers mise-en-place, then asdf.

Examples

{Check.ToolVersions, :package_installed?, ["postgres"]}
{Check.ToolVersions, :plugin_installed?, ["postgres"]}

Summary

Functions

Checks that ASDF can resolve a version for the declared plugin.

Checks that the configured ASDF plugin is installed.

Functions

Link to this function

package_installed?(package)

View Source
@spec package_installed?(binary()) :: Medic.Check.check_return_t()

Checks that ASDF can resolve a version for the declared plugin.

Link to this function

plugin_installed?(plugin)

View Source
@spec plugin_installed?(binary()) :: Medic.Check.check_return_t()

Checks that the configured ASDF plugin is installed.