activation

package
v0.0.0-...-10bf2d1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current() []string

func Parse

func Parse(entries []string) map[string]string

func ReservedName

func ReservedName(name string) bool

func Slice

func Slice(values map[string]string) []string

func ValidName

func ValidName(name string) bool

Types

type Environment

type Environment struct {
	Name      string
	Root      string
	Dir       string
	CWD       string
	Plain     map[string]string
	Tools     []Tool
	ShimDir   string
	SessionID string
}

type Result

type Result struct {
	Values map[string]string
	Unset  []string
}

func Resolve

func Resolve(base []string, env Environment) (Result, error)

type Tool

type Tool struct {
	Name      string
	HomeVar   string
	Home      string
	Binary    string
	Scrub     []string
	Variables map[string]string
}

Jump to

Keyboard shortcuts

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