github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/adhoc/util/util_windows.go (about) 1 package util 2 3 import ( 4 "os" 5 "path/filepath" 6 ) 7 8 func dataBaseDirectory() string { 9 return filepath.Join(os.Getenv("USERPROFILE"), os.Getenv("LOCALAPPDATA")) 10 }