MCPcopy Index your code
hub / github.com/jetify-com/devbox / Key

Function Key

internal/devbox/envpath/stack.go:60–62  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
60func 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),

Callers 5

TestNewStackFunction · 0.85
PushMethod · 0.85
HasMethod · 0.85

Calls

no outgoing calls

Tested by 3

TestNewStackFunction · 0.68