Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReleaseResolution ¶ added in v0.0.2
ReleaseResolution is the selected release, asset, and normalized version to install.
func ResolveToolRelease ¶ added in v0.0.2
func ResolveToolRelease(ctx context.Context, token, owner, repo, toolName, version, osName, arch string, includePreRelease bool) (*ReleaseResolution, error)
ResolveToolRelease selects a release and matching asset for a tool install. Assets are matched primarily by tool name (exact or substring match preferred), with optional fallback to repo name. OS and arch indicators are optional but preferred when present. Returns an error if no matching asset is found.
Click to show internal directories.
Click to hide internal directories.