modcheck

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	EnableModrinth: true,
	EnableMixin:    true,
	EnableHash:     true,
	Timeout:        30 * time.Second,
}

Functions

func FilterInstalledMods

func FilterInstalledMods(modsDir, bundleName string, cfg *Config) ([]string, error)

Types

type Config

type Config struct {
	EnableModrinth bool
	EnableMixin    bool
	EnableHash     bool
	Timeout        time.Duration
}

type MixinFile

type MixinFile struct {
	Name string
	Data string
}

type ModFile

type ModFile struct {
	Path       string
	Name       string
	Hash       string
	Mixins     []MixinFile
	ModIDs     []string
	ProjectIDs []string
}

func ExtractMods

func ExtractMods(modsDir string) ([]ModFile, error)

Jump to

Keyboard shortcuts

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