repository

package
v0.0.0-...-1c938fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	DownloadURL string
	Name        string
}

func (Asset) IsValid

func (a Asset) IsValid() bool

type Download

type Download struct {
	MonoAssets map[platform.Platform]Asset
	Assets     map[platform.Platform]Asset
}

func (Download) HasAsset

func (d Download) HasAsset(platform platform.Platform) bool

func (Download) HasMonoAsset

func (d Download) HasMonoAsset(platform platform.Platform) bool

type Repository

type Repository struct {
	Downloads map[semver.Relver]Download
}

func (Repository) SortedDownloadKeys

func (r Repository) SortedDownloadKeys() []semver.Relver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL