pack

package
v0.0.0-...-eddb0e9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VimLoadStart = "start"
	VimLoadOpt   = "opt"
)

Variables

This section is empty.

Functions

func IsLoadType

func IsLoadType(load string) bool

func ListGroups

func ListGroups(packDir string) ([]string, error)

func RemovePack

func RemovePack(packDir, name string) error

func SetPackDir

func SetPackDir(packDir *string) error

Types

type Pack

type Pack struct {
	Name      string
	Dirname   string
	Location  string
	RemoteURL string
	Group     string
	Load      string
}

func AddPack

func AddPack(packDir, url, group, load string) (Pack, error)

func ChangePack

func ChangePack(packDir, name, group, load string) (Pack, error)

func GetByName

func GetByName(packDir string, name string) (Pack, error)

func ListPacks

func ListPacks(packDir string) ([]Pack, error)

func ListPacksForGroup

func ListPacksForGroup(packDir string, group string) ([]Pack, error)

Jump to

Keyboard shortcuts

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