Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PathStackEnv stores the string representation of the stack, as a ":" separated list. // Each element in the list is also the key to the env-var that stores the // nixEnvPath for that devbox-project. Except for the last element, which is InitPathEnv. PathStackEnv = "DEVBOX_PATH_STACK" // InitPathEnv stores the path prior to any synopkg.github.io/devboxellenv modifying the environment InitPathEnv = "DEVBOX_INIT_PATH" )
Variables ¶
This section is empty.
Functions ¶
func JoinPathLists ¶
JoinPathLists joins and cleans PATH-style strings of os.ListSeparator delimited paths. To clean a path list, it splits it and does the following for each element:
- Applies filepath.Clean.
- Removes the path if it's relative (must begin with '/' and not be '.').
- Removes the path if it's a duplicate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.