mcmodupdater

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type McModUpdater

type McModUpdater struct {
	// contains filtered or unexported fields
}

func NewMcModUpdater

func NewMcModUpdater(conf *config.Config) (*McModUpdater, error)

func (*McModUpdater) LoadTree

func (m *McModUpdater) LoadTree(tree fs.StatFS) (*develop.PlatformVersions, error)

func (*McModUpdater) PlatArch

func (m *McModUpdater) PlatArch() *dev.Architectury

func (*McModUpdater) Platforms

func (m *McModUpdater) Platforms() map[develop.DevPlatform]develop.Develop

func (*McModUpdater) UpdateToVersion added in v0.0.3

func (m *McModUpdater) UpdateToVersion(out io.StringWriter, tree fs.StatFS, ver map[develop.PropVersion]string) error

func (*McModUpdater) VersionUpdateList added in v0.0.3

func (m *McModUpdater) VersionUpdateList(info *develop.PlatformVersions) VersionUpdateList

type VersionUpdateItem

type VersionUpdateItem struct {
	Property        develop.PropVersion
	Current, Latest string
}

type VersionUpdateList

type VersionUpdateList []VersionUpdateItem

func (VersionUpdateList) ChangeToLatest

func (v VersionUpdateList) ChangeToLatest() map[develop.PropVersion]string

Directories

Path Synopsis
cmd
dev

Jump to

Keyboard shortcuts

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