Documentation
¶
Index ¶
Constants ¶
View Source
const ( HookFlag = "__VFOX_SHELL" PidFlag = "__VFOX_PID" )
View Source
const Newline = "\n"
View Source
const PathVarName = "PATH"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface {
Flush() error
Load(envs *Envs) error
Get(key string) (string, bool)
Remove(envs *Envs) error
io.Closer
}
func NewEnvManager ¶
type Paths ¶ added in v0.2.5
Paths is a slice of PATH.
func NewPaths ¶ added in v0.3.0
NewPaths returns a new Paths. from is the source of the paths. If from is OsPaths, it returns the paths from the environment variable PATH.
func (*Paths) ToBinPaths ¶ added in v0.5.0
ToBinPaths returns a BinPaths from Paths which contains only executable files.
Click to show internal directories.
Click to hide internal directories.