github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/ioutils/temp_unix.go (about) 1 // +build !windows 2 3 package ioutils // import "github.com/demonoid81/moby/pkg/ioutils" 4 5 import "io/ioutil" 6 7 // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 func TempDir(dir, prefix string) (string, error) { 9 return ioutil.TempDir(dir, prefix) 10 }