Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiToolVersions ¶
type MultiToolVersions []*ToolVersion
func NewMultiToolVersions ¶
func NewMultiToolVersions(paths []string) (MultiToolVersions, error)
func (MultiToolVersions) Add ¶
func (m MultiToolVersions) Add(name, version string)
func (MultiToolVersions) FilterTools ¶
func (m MultiToolVersions) FilterTools(filter func(name, version string) bool) map[string]string
FilterTools filters tools by the given filter function and return the first one you find.
func (MultiToolVersions) Save ¶
func (m MultiToolVersions) Save() error
type ToolVersion ¶
type ToolVersion struct { // Sdks sdkName -> version Record map[string]string // contains filtered or unexported fields }
func NewToolVersion ¶
func NewToolVersion(dirPath string) (*ToolVersion, error)
func (*ToolVersion) Save ¶
func (t *ToolVersion) Save() error
Click to show internal directories.
Click to hide internal directories.