Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClassificationAction ¶
type ClassificationAction string
const ( ClassificationActionOpen ClassificationAction = "open" ClassificationActionLaunch ClassificationAction = "launch" )
type NarrowDownUploadsResult ¶
type NarrowDownUploadsResult struct {
InitialUploads []*itchio.Upload
Uploads []*itchio.Upload
HadWrongFormat bool
HadWrongArch bool
}
func NarrowDownUploads ¶
type Platforms ¶
func PlatformsForGame ¶
func PlatformsForUpload ¶
func (*Platforms) ExclusivityScore ¶
UploadExclusivityScore returns a higher value the closest an upload is to being *only for this platform*
func (*Platforms) IsCompatible ¶
type Runtime ¶
type Runtime struct {
Platform butlerd.ItchPlatform `json:"platform"`
Is64 bool `json:"is64"`
}
Runtime describes an os-arch combo in a convenient way
func CurrentRuntime ¶
func CurrentRuntime() *Runtime
Click to show internal directories.
Click to hide internal directories.