Versions in this module Expand all Collapse all v1 v1.5.4 May 1, 2026 v1.5.3 Apr 29, 2026 Changes in this version + const Prefix + func IsTarget(value string) bool + func SetVerbose(enabled bool, writer io.Writer) + func VerboseEnabledForTest() bool + func VersionFromText(text string) string + type File struct + DownloadURL string + Downloadable bool + FullPath string + Name string + Path string + Type FileType + URL string + func LatestVersionFile(files []File) (File, bool) + func ParseFilesPage(body []byte) ([]File, error) + type FileType string + const TypeDirectory + const TypeFile + type Finder struct + Getter HTTPGetter + Path string + Project string + Tag string + func (f Finder) Find() ([]string, error) + type HTTPGetter interface + Get func(url string) (*http.Response, error) + type LatestInfo struct + Path string + Version string + func LatestVersion(project, sourcePath string, getter HTTPGetter) (LatestInfo, error) + type Target struct + Normalized string + Path string + Project string + func ParseTarget(value string) (Target, error)