We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ecfdd8 commit 811137eCopy full SHA for 811137e
internal/cloud/mutagen/wrapper.go
@@ -11,6 +11,7 @@ import (
11
"github.com/pkg/errors"
12
13
"go.jetpack.io/devbox/internal/debug"
14
+ "go.jetpack.io/devbox/internal/xdg"
15
)
16
17
func Create(spec *SessionSpec) error {
@@ -214,7 +215,7 @@ func envAsKeyValueStrings(userEnv map[string]string) []string {
214
215
}
216
217
func ensureMutagen() string {
- installPath := CacheSubpath("mutagen/bin/mutagen")
218
+ installPath := xdg.CacheSubpath("mutagen/bin/mutagen")
219
err := InstallMutagenOnce(installPath)
220
if err != nil {
221
panic(err)
internal/cloud/mutagen/xdg.go renamed to internal/xdg/xdg.go
@@ -1,7 +1,4 @@
1
-package mutagen
2
-
3
-// TODO: publish as it's own shared package that other binaries
4
-// can use.
+package xdg
5
6
import (
7
"os"
0 commit comments