()
| 19 | } |
| 20 | |
| 21 | func (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 |
no test coverage detected