resolve

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Overview

Package resolve contains functions for resolving a tool version in a given directory. This is a core feature of asdf as asdf must be able to resolve a tool version in any directory if set.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolVersions

type ToolVersions struct {
	Versions  []string
	Directory string
	Source    string
}

ToolVersions represents a tool along with versions specified for it

func Version

func Version(conf config.Config, plugin plugins.Plugin, directory string) (versions ToolVersions, found bool, err error)

Version takes a plugin and a directory and resolves the tool to one or more versions.

Jump to

Keyboard shortcuts

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