develop

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: BSD-2-Clause Imports: 3 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 BranchInfo

type BranchInfo struct {
	Plumb    *plumbing.Reference
	Platform Develop
	Versions map[PropVersion]string
}

type DevFetch

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

type DevPlatform

type DevPlatform struct {
	Name   string
	Branch string
}

type Develop

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

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