mod

package
v0.6.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: BSD-3-Clause Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const GLOBAL_MVS_CONFIG = "hof/.mvsconfig.cue"

FROM the USER's HOME dir

View Source
const LOCAL_MVS_CONFIG = ".mvsconfig.cue"

Variables

View Source
var (
	// Default known modderr
	LangModderMap = langs.DefaultModders
)

Functions

func Convert

func Convert(lang, filename string) error

func DiscoverLangs

func DiscoverLangs() (langs []string)

func Graph

func Graph(lang string) error

func Hack

func Hack(lang string, args []string) error

func Init

func Init(lang, module string) error

func InitLangs

func InitLangs()

InitLangs loads the language modders in the following order

  1. Defaults compiled into hof
  2. Globals found in <user-config>/hof/.mvsconfig.cue
  3. Local (CWD)/.mvsconfig

New languages discovered are appended, existing are replaced completely

func KnownLangs

func KnownLangs() string

func LangInfo

func LangInfo(lang string) (string, error)

func ProcessLangs

func ProcessLangs(method string, langs []string) error

This is a convienence function for calling the other mod functions with a list of languages

func Status

func Status(lang string) error

func Tidy

func Tidy(lang string) error

func Vendor

func Vendor(lang string) error

func Verify

func Verify(lang string) error

Types

This section is empty.

Directories

Path Synopsis
parse
lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.

Jump to

Keyboard shortcuts

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