develop

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModVersion            // Version
	MinecraftVersion      // Minecraft
	ArchitecturyVersion   // Architectury
	FabricLoaderVersion   // Fabric Loader
	FabricApiVersion      // Fabric API
	YarnMappingsVersion   // Yarn Mappings
	ForgeVersion          // Forge
	ForgeMappingsVersion  // Forge Mappings
	QuiltLoaderVersion    // Quilt Loader
	QuiltFabricApiVersion // Quilted Fabric API
	QuiltMappingsVersion  // Quilt Mappings
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DevFetch

type DevFetch struct {
	Name string
	Call func() error
}

type DevPlatform

type DevPlatform struct {
	Name   string
	Branch string
	Sub    string
}

type Develop

type Develop interface {
	Platform() DevPlatform
	FetchCalls() []DevFetch
	ValidTree(tree fs.FS) bool
	ReadVersionFile(tree fs.FS) (map[PropVersion]string, error)
	LatestVersion(prop PropVersion, mcVersion string) (string, bool)
}

type PlatformVersions

type PlatformVersions struct {
	Platform Develop
	Versions map[PropVersion]string
}

type PropVersion

type PropVersion int

func PropVersionFromKey

func PropVersionFromKey(k string) (PropVersion, bool)

func (PropVersion) Key

func (v PropVersion) Key() string

func (PropVersion) String

func (i PropVersion) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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