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

Method isRefreshAliasSet

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

Source from the content-addressed store, hash-verified

11}
12
13func (d *Devbox) isRefreshAliasSet() bool {
14 return os.Getenv(d.refreshAliasEnvVar()) == d.refreshCmd()
15}
16
17func (d *Devbox) refreshAliasEnvVar() string {
18 return "DEVBOX_REFRESH_ALIAS_" + d.ProjectDirHash()

Callers 1

RefreshAliasOrCommandMethod · 0.95

Calls 2

refreshAliasEnvVarMethod · 0.95
refreshCmdMethod · 0.95

Tested by

no test coverage detected