xvm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Release

type Release struct {
	Name       string `json:"name"`
	Prerelease bool   `json:"prerelease"`
}

type XVM

type XVM struct{}

func (*XVM) GetDefaultVersion

func (g *XVM) GetDefaultVersion(ctx context.Context) *core.InstalledVersion

func (*XVM) Install

func (g *XVM) Install(ctx context.Context, remoteVersion *core.RemoteVersion) error

func (*XVM) ListInstalledVersions

func (g *XVM) ListInstalledVersions(ctx context.Context) ([]*core.InstalledVersion, error)

func (*XVM) ListRemoteVersions

func (g *XVM) ListRemoteVersions(ctx context.Context) ([]*core.RemoteVersion, error)

func (*XVM) Name

func (g *XVM) Name() string

func (*XVM) SetDefaultVersion

func (g *XVM) SetDefaultVersion(ctx context.Context, version string) error

func (*XVM) Uninstall

func (g *XVM) Uninstall(ctx context.Context, version string) error

Source Files

  • xvm.go

Jump to

Keyboard shortcuts

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