Versions in this module Expand all Collapse all v0 v0.1.0 Feb 23, 2026 Changes in this version + func DownloadTool(tool ToolDef, platform Platform, destDir string, progress func(pct float64)) error + func DownloadToolWithContext(ctx context.Context, tool ToolDef, platform Platform, destDir string, ...) error + func IsToolInstalled(destDir, toolName string) bool + func SyncAll(tools []ToolDef, platform Platform, destDir string, ...) error + func SyncAllWithContext(ctx context.Context, tools []ToolDef, platform Platform, destDir string, ...) error + func ToolBinPath(destDir, toolName string) string + type Platform struct + Arch string + OS string + func DetectPlatform() Platform + func (p Platform) String() string + func (p Platform) Validate() error + type ToolDef struct + ArchMap map[string]string + BinaryName string + Checksums map[string]string + IsArchive bool + Name string + OSMap map[string]string + URLTemplate string + Version string + func DefaultRegistry() []ToolDef + func FindTool(name string) (*ToolDef, bool)