utils

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WebmanDir       string
	WebmanConfig    string
	WebmanPkgDir    string
	WebmanBinDir    string
	WebmanRecipeDir string
	WebmanTmpDir    string
	RecipeDirFlag   string
	GOOS            string
	GOARCH          string
	PkgRecipeExt    = ".webman-pkg.yml"
	GroupRecipeExt  = ".webman-group.yml"
	UsingFileName   = "using.yaml"
)

Functions

func CreateStem

func CreateStem(pkg string, ver string) string

func Init

func Init(homeDir string)

func InstalledPackages added in v0.9.1

func InstalledPackages() []string

InstalledPackages returns a list of currently installed packages, as per the webman pkgs directory

func ParsePkgVer

func ParsePkgVer(arg string) (string, string, error)

func ParseStem

func ParseStem(pkgVerStem string) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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