github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/pkg/ioutils/temp_unix.go (about) 1 // +build !windows 2 3 package 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 }