Key is the element stored in the stack for a devbox-project. It represents a pointer to the devboxEnvPath value stored in its own env-var, also using this same Key.
(projectHash string)
| 58 | // Key is the element stored in the stack for a devbox-project. It represents |
| 59 | // a pointer to the devboxEnvPath value stored in its own env-var, also using this same Key. |
| 60 | func Key(projectHash string) string { |
| 61 | return "DEVBOX_NIX_ENV_PATH_" + projectHash |
| 62 | } |
| 63 | |
| 64 | // Push adds the new PATH for the devbox-project identified by projectHash. |
| 65 | // This PATH is pushed to the top of the stack (given highest priority), |
no outgoing calls