Versions in this module Expand all Collapse all v0 v0.19.1 Aug 30, 2023 v0.19.0 Aug 30, 2023 Changes in this version + func SanitizeName(name, version string) string + type Asset struct + BrowserDownloadURL string + DisplayName string + Name string + Size int64 + URL string + func (g Asset) String() string + type Filter struct + func InitFilter(repoName string, name string, packagePath string, opts *FilterOpts) *Filter + func NewFilter(opts *FilterOpts) *Filter + func (f *Filter) FilterAssetContents(repoName string, as []*Asset) (*FilteredAsset, error) + func (f *Filter) FilterAssets(repoName string, as []*Asset) (*FilteredAsset, error) + func (f *Filter) ProcessURL(gf *FilteredAsset) (*finalFile, error) + type FilterOpts struct + PackagePath string + SkipPathCheck bool + SkipScoring bool + type FilteredAsset struct + BrowserDownloadURL string + ContentMd5 string + DisplayName string + ExtraHeaders map[string]string + Name string + RepoName string + Size int64 + URL string + func (g FilteredAsset) String() string