installs

package
v0.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package installs contains tool installation logic. It is "dumb" when it comes to versions and treats versions as opaque strings. It cannot depend on the versions package because the versions package relies on this page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPath

func DownloadPath(conf config.Config, plugin plugins.Plugin, version toolversions.Version) string

DownloadPath returns the download path for a particular plugin and version

func InstallPath

func InstallPath(conf config.Config, plugin plugins.Plugin, version toolversions.Version) string

InstallPath returns the path to a tool installation

func Installed

func Installed(conf config.Config, plugin plugins.Plugin) (versions []string, err error)

Installed returns a slice of all installed versions for a given plugin

func IsInstalled

func IsInstalled(conf config.Config, plugin plugins.Plugin, version toolversions.Version) bool

IsInstalled checks if a specific version of a tool is installed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL