mise

package
v2.36.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dirs added in v2.34.3

func Dirs(miseVersion string) (installDir, dataDir string)

func FallbackDownloadURL added in v2.34.2

func FallbackDownloadURL(version, platformName string) string

func GetMiseChecksums added in v2.34.6

func GetMiseChecksums() map[string]string

func GetMiseVersion added in v2.34.6

func GetMiseVersion() string

Types

type MiseToolProvider

type MiseToolProvider struct {
	ExecEnv        execenv.ExecEnv
	UseFastInstall bool
}

func NewToolProvider

func NewToolProvider(installDir string, dataDir string, useFastInstall bool) (*MiseToolProvider, error)

func (*MiseToolProvider) ActivateEnv

func (*MiseToolProvider) Bootstrap

func (m *MiseToolProvider) Bootstrap() error

func (*MiseToolProvider) ID

func (m *MiseToolProvider) ID() string

func (*MiseToolProvider) InstallPlugin added in v2.34.3

func (m *MiseToolProvider) InstallPlugin(tool provider.ToolRequest) error

InstallPlugin installs a plugin for the specified tool, if needed.

It resolves the plugin source from the tool request or predefined map, checks if the plugin is already installed, and if not, installs it using mise.

func (*MiseToolProvider) InstallTool

type PluginSource added in v2.34.3

type PluginSource struct {
	PluginName  provider.ToolID
	GitCloneURL string
}

type RegistryChecker added in v2.34.3

type RegistryChecker interface {
	// contains filtered or unexported methods
}

RegistryChecker interface required for testing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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