common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentVersion

func GetCurrentVersion() (version string)

获取当前版本

func GetInstalled

func GetInstalled(root string) []string

获取下载的版本列表

func GetVersion

func GetVersion(ctx *cli.Context, downloadPath string, localInstallsOnly ...bool) (string, error)

获取版本

Types

This section is empty.

Jump to

Keyboard shortcuts

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