node

package
v0.0.0-...-0c58b2e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailable

func GetAvailable() ([]string, []string, []string, []string, []string, map[string]string)

Retrieve the remotely available versions

func GetCurrentVersion

func GetCurrentVersion() (string, string)

*

  • Returns version, architecture

func GetInstalled

func GetInstalled(root string) []string

func IsVersionAvailable

func IsVersionAvailable(v string) bool

func IsVersionInstalled

func IsVersionInstalled(root string, version string, cpu string) bool

Types

type BySemanticVersion

type BySemanticVersion []string

Sorting

func (BySemanticVersion) Len

func (s BySemanticVersion) Len() int

func (BySemanticVersion) Less

func (s BySemanticVersion) Less(i, j int) bool

func (BySemanticVersion) Swap

func (s BySemanticVersion) Swap(i, j int)

Jump to

Keyboard shortcuts

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