blob: dbc80f3eefad12f55db4fcaab33b968e9264be44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//go:build rust
// +build rust
package fs
import (
"github.com/vercel/turbo/cli/internal/ffi"
"github.com/vercel/turbo/cli/internal/turbopath"
)
// GetTurboDataDir returns a directory outside of the repo
// where turbo can store data files related to turbo.
func GetTurboDataDir() turbopath.AbsoluteSystemPath {
dir := ffi.GetTurboDataDir()
return turbopath.AbsoluteSystemPathFromUpstream(dir)
}
|