package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# Functions

DelElement deletes an element.
ElementErrorLevel returns the level of an error returned by MakeElement or DelElement.
FromEnv returns a Var corresponding to the named environment variable.
FromGet makes a variable from a get callback.
FromInit creates a variable with an initial value.
FromPtr creates a variable from a pointer.
FromPtrWithMutex creates a variable from a pointer.
FromSetGet makes a variable from a set callback and a get callback.
HeadOfElement gets the underlying head variable of an element variable, or nil if the argument is not an element variable.
IsBlackhole returns whether the variable is a blackhole variable.
IsReadOnly returns whether v is a read-only variable.
MakeElement returns a variable, that when set, simulates the mutation of an element.
NewBlackhole returns a blackhole variable.
NewEnvListVar returns a variable whose value is a list synchronized with an environment variable with the elements joined by os.PathListSeparator.
NewReadOnly creates a variable that is read-only and always returns an error on Set.

# Variables

# Structs

# Interfaces

UnsettableVar represents an Elvish variable that can be in an unset state.
Var represents an Elvish variable.