github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/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 }