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

Method isGlobal

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

Source from the content-addressed store, hash-verified

19}
20
21func (d *Devbox) isGlobal() bool {
22 globalPath, _ := GlobalDataPath()
23 return d.projectDir == globalPath
24}
25
26// In some cases (e.g. 2 non-global projects somehow active at the same time),
27// refresh might not match. This is a tiny edge case, so no need to make UX

Callers 3

refreshAliasNameMethod · 0.95
refreshCmdMethod · 0.95
refreshAliasForShellMethod · 0.95

Calls 1

GlobalDataPathFunction · 0.85

Tested by

no test coverage detected