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

Method IsDirenvActive

internal/devbox/refresh.go:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func (d *Devbox) IsDirenvActive() bool {
10 return strings.TrimPrefix(os.Getenv("DIRENV_DIR"), "-") == d.projectDir
11}
12
13func (d *Devbox) isRefreshAliasSet() bool {
14 return os.Getenv(d.refreshAliasEnvVar()) == d.refreshCmd()

Callers 1

ensureStateIsUpToDateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected