mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-06 17:05:48 +00:00
11 lines
184 B
Go
11 lines
184 B
Go
package env
|
|
|
|
import "os"
|
|
|
|
func getRuntimeDir() (string, error) {
|
|
tmpDir, ok := os.LookupEnv("TEMP")
|
|
if !ok {
|
|
tmpDir = os.Getenv("LOCALAPPDATA") + "\\Temp"
|
|
}
|
|
return tmpDir, nil
|
|
}
|