podman/pkg/machine/qemu/options_darwin.go

16 lines
222 B
Go

package qemu
import (
"os"
"github.com/pkg/errors"
)
func getRuntimeDir() (string, error) {
tmpDir, ok := os.LookupEnv("TMPDIR")
if !ok {
return "", errors.New("unable to resolve TMPDIR")
}
return tmpDir, nil
}