package
0.16.7
Repository: https://github.com/asdf-vm/asdf.git
Documentation: pkg.go.dev

# Functions

FindToolVersions looks up a tool version in a tool versions file and if found returns a slice of versions for it.
Format takes a Version struct and formats it as a string.
FormatForFS takes a versionType and version strings and generate a version string suitable for the file system.
GetAllToolsAndVersions returns a list of all tools and associated versions contained in a .tool-versions file.
Intersect takes two slices of versions and returns a new slice containing only the versions found in both.
Parse parses a version string into versionType and version components.
ParseFromCliArg parses a string that is passed in as an argument to one of the asdf subcommands.
ParseSlice takes a slice of strings and returns a slice of parsed versions.
Unique takes a slice of ToolVersions and returns a slice of unique tools and versions.
WriteToolVersionsToFile takes a path to a file and writes the new tool and version data to the file.

# Structs

ToolVersions represents a tool along with versions specified for it.
Version struct represents a single version in asdf.