modlinks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveModName

func ResolveModName(ms []string, requestedName string) (string, error)

Types

type Mod

type Mod struct {
	Name         string
	Description  string
	Repository   string
	Dependencies []string
	Integrations []string
	Link         string
	SHA256       string
}

type Repository

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

func Get

func Get() (*Repository, error)

func (*Repository) GetBase

func (r *Repository) GetBase(thingName string) (Mod, error)

func (*Repository) GetMod

func (r *Repository) GetMod(modName string) (Mod, error)

func (*Repository) ModNames

func (r *Repository) ModNames() []string

func (*Repository) ResolveModName

func (r *Repository) ResolveModName(modName string) (string, error)

func (*Repository) TransitiveClosure

func (r *Repository) TransitiveClosure(leaves []string) ([]Mod, error)

Jump to

Keyboard shortcuts

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